maui-devexpress-dot-maui-dot-charts-5777f6f2.md
Stores axis label settings.
Namespace : DevExpress.Maui.Charts
Assembly : DevExpress.Maui.Charts.dll
NuGet Package : DevExpress.Maui.Charts
public class AxisLabel :
AxisLabelBase
The following members return AxisLabel objects:
The AxisLabel class properties define axis label settings:
To configure axis labels, assign an AxisLabel object with the specified properties to the axis’s Label property.
The following example shows how to modify axis labels of a date-time X-axis and numeric Y-axis:
<dxc:ChartView>
<dxc:ChartView.AxisX>
<dxc:DateTimeAxisX>
<dxc:DateTimeAxisX.Label>
<dxc:AxisLabel TextFormat="yyyy"/>
</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>
System.Object BindableObject Element ChartElementBase ChartElement StyledElement AxisLabelBase AxisLabel
See Also