ComponentOne Chart for .NET (2.0) Search HelpCentral 

AttachMethodEnum Enumeration

Use the members of this enumeration to set the value of the Label.AttachMethod property in the Label class.

[Visual Basic]

Public Enum AttachMethodEnum

[C#]

public enum AttachMethodEnum

[Delphi]

type AttachMethodEnum = (Coordinate, DataCoordinate, DataIndex, DataIndexY);

Namespace: C1.Win.C1Chart

Assembly: C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Members

Member name

Description

Coordinate

Label can be attached to anywhere on the chart. The number of pixels between the top-left corner of the chart to the ChartLabel can be specified.

DataCoordinate

Label is attached to anywhere inside the PlotArea. The data coordinates can be specified. This method is not allowed on pie charts using PointLabels for the X-axis annotation. If any part of the ChartLabel falls outside of the ChartArea, it is clipped.

DataIndex

Label is attached to a specific data point on the chart. The series and point indices and the ChartGroup can be specified.

DataIndexY

Label is attached to a distance above or below a specific data point. The series and point indices, the ChartGroup, and the Y-coordinate can be specified. This is most useful for bar and stacking bar charts.

See Also

C1.Win.C1Chart Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.