corelibraries-devexpress-dot-xtracharts-dot-axistitle.md
Gets or sets the alignment of the axis title. Use this property in non-Windows environments.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public DXStringAlignment DXAlignment { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property DXAlignment As DXStringAlignment
| Type | Description |
|---|---|
| DXStringAlignment |
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.
|
The following images demonstrate the Alignment property in action.
| Near | Center | Far |
|---|---|---|
For more information, refer to Axis Titles.
See Also