Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AxisLabel.Position Property

Gets or sets the position of axis labels. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public AxisLabelPosition Position { get; set; }

#Property Value

Type Default Description
AxisLabelPosition Outside

The AxisLabelPosition enumeration value that specifies the position of axis labels.

Available values:

Name Description
Inside

Axis labels are located inside the plot area.

AxisPosition.Far

Outside

Axis labels are located outside the plot area.

AxisPosition.Far

#Remarks

Use the Position property to specify whether axis labels should be displayed inside or outside the plot area.

<dxc:ChartView>
  <dxc:ChartView.AxisX>
    <dxc:DateTimeAxisX>
        <dxc:DateTimeAxisX.Label>
            <dxc:AxisLabel TextFormat="yyyy" Position="Outside"/>
        </dxc:DateTimeAxisX.Label>
    </dxc:DateTimeAxisX>
  </dxc:ChartView.AxisX>
  <dxc:ChartView.AxisY>
      <dxc:NumericAxisY>
          <dxc:NumericAxisY.Label>
            <dxc:AxisLabel TextFormat="$#K" Position="Inside"/>
          </dxc:NumericAxisY.Label>
      </dxc:NumericAxisY>
  </dxc:ChartView.AxisY>
</dxc:ChartView>

Axis Label

See Also