corelibraries-devexpress-dot-xtracharts-dot-axislabel-d9bcc974.md
Specifies the alignment of the axis labels text. 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 DXTextAlignment { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property DXTextAlignment As DXStringAlignment
| Type | Description |
|---|---|
| DXStringAlignment |
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.
|
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