Skip to main content
All docs
V26.1
  • Axis.Position Property

    Gets or sets the axis position in the chart.

    Namespace: DevExpress.Docs.Office

    Assembly: DevExpress.Docs.Core.v26.1.dll

    Declaration

    public AxisPositionType Position { get; set; }

    Property Value

    Type Description
    AxisPositionType

    The axis position in the chart.

    Available values:

    Name Description
    Bottom

    Axis is displayed at the bottom.

    Left

    Axis is displayed on the left.

    Right

    Axis is displayed on the right.

    Top

    Axis is displayed at the top.

    Example

    Specify the Axis.Position property to set how the axis is aligned relative to the chart. Use AxisPositionType‘s Top and Bottom values to position horizontal axes and Left and Right values to position vertical axes.

    chart.ArgumentAxis.Position = AxisPositionType.Top;
    
    See Also