AxisTitle.DXAlignment Property
In This Article
Gets or sets the alignment of the axis title. 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 DXAlignment { get; set; }
#Property Value
Type | Description |
---|---|
DXString |
An enumeration value which specifies the alignment of the axis title. |
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
The following images demonstrate the Alignment
property in action.
Near | Center | Far |
---|---|---|
![]() |
![]() |
![]() |
For more information, refer to Axis Titles.
See Also