MindFusion.Charting Programmer's Guide

AxisSettings.LabelAlignment Property

See Also
 





Gets or sets the alignment of labels at the chart axis.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public StringAlignment LabelAlignment { get; set; }

Visual Basic  Copy Code

Public Property LabelAlignment As StringAlignment

 Property Value

One of the .NET StringAlignment Enumeration values.

 Remarks

When LabelAlignment is set to StringAlignment.Far the labels are drawn to the outside of the chart's plot area. When it is set to StringAlignment.Near the labels are drawn to the inside of the plot area.

It is not necessary that the labels are drawn always at the chart axis they refer to. They can also be drawn outside the plot area. Use the LabelAtTheAxis property to specify that.

Default value for the LabelAlignment property is StringAlignment.Far.

 See Also