Skip to main content
All docs
V25.1
  • 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.v25.1.dll

    NuGet Package: DevExpress.Charts

    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