Skip to main content
All docs
V24.2

AxisTitle.DXAlignment Property

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

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public DXStringAlignment DXAlignment { get; set; }

Property Value

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.

Remarks

The following images demonstrate the Alignment property in action.

Near Center Far
AxisTitle_Near AxisTitle_Center AxisTitle_Far

For more information, refer to Axis Titles.

See Also