[]
Use the members of this enumeration to set the value of the AttachMethod property in the Label class.
public enum AttachMethodEnum
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. |