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
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. |
Outside | Axis labels are located outside the plot area. |
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>
See Also