AxisLabel.DXTextAlignment Property
In This Article
Specifies the alignment of the axis labels text. Use this property in non-Windows environments.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public DXStringAlignment DXTextAlignment { get; set; }
#Property Value
Type | Description |
---|---|
DXString |
An enumeration value that specifies the alignment of the label text. |
Available values:
Name | Description |
---|---|
Near | The text is aligned near the layout. |
Center | Text is aligned in the center of the layout rectangle. |
Far | The text is aligned far from the original position of the layout rectangle. |
#Remarks
Note that this property value is used to align the text within the label. It doesn’t affect the labels themselves. The table below demonstrates how this property works.
Near | Center | Far |
---|---|---|
![]() |
![]() |
![]() |
See Also