Gets or sets the alignment of labels inside bars. Namespace: MindFusion.Charting
|
C#
![]() |
---|
public StringAlignment InnerLabelAlignment { get; set; } |
Visual Basic
![]() |
---|
Public Property InnerLabelAlignment As StringAlignment |
One of the .NET StringAlignment Enumeration values.
The property specifies how labels inside bars are aligned. The StringAlignment.Near value indicates the label is aligned to the bottom of the bar. StringAlignment.Far aligns the label to the top of the bar, while with StringAlignment.Center the label is drawn in the center of the bar.
In order to draw labels inside bars, the InnerLabelType property should not be set to LabelType.Empty. Custom labels are set with the InnerLabels property.
Bars can also have labels at the top. Their type is set with TopLabelType.
Default value for the InnerLabelAlignment property is StringAlignment.Center.