AxisLabel.TextAlignment Property
In This Article
Specifies the alignment of the axis labels text.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
[Browsable(false)]
public StringAlignment TextAlignment { get; set; }
#Property Value
Type | Description |
---|---|
String |
A String |
#Remarks
Note that this property value is used to align the text within label. It doesn’t affect the labels themselves. The table below demonstrates how this property works.
Near | Center | Far |
---|---|---|
![]() |
![]() |
![]() |
Use the AxisLabel.DXTextAlignment property instead of TextAlignment
to set the label text alignment in non-Windows environments.
See Also