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

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

Syntax

C#
public enum AttachMethodEnum
Visual Basic
Public Enumeration AttachMethodEnum

Members

Member nameValueDescription
Coordinate0 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.
DataCoordinate1 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.
DataIndex2 Label is attached to a specific data point on the chart. The series and point indices and the ChartGroup can be specified.
DataIndexY3 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