2D Chart for WinForms | ComponentOne
Charting Labels / Anchoring Chart Labels
In This Topic
    Anchoring Chart Labels
    In This Topic

    Once attached to a point on the chart, setting the Compass property sets the anchoring position for the ChartLabel. The property takes an enumeration of type LabelCompassEnum, and the following shows the valid anchoring positions:


    The Compass property acts similarly on ChartLabels as it does other objects in .NET. The Label is placed away from the point according to the specified compass direction. The LabelCompassEnum.Radial setting generally applies only to Polar, Radar, and Pie charts. It places the Label out radially from the center of the chart. This can be a convenient feature if a chart, such as a Pie chart, has a multitude of labels to be shown. The LabelCompassEnum.Orthogonal setting places the Label perpendicularly from the path of the series line. For instance, if there was a straight horizontal line as the series plot, then the Orthogonal position would be exactly like the North Compass setting, likewise if there was a straight vertical line as the series plot, then the Orthogonal position would be exactly like the West Compass setting.

    See Also