Skip to main content
A newer version of this page is available. .

Axis Labels

Axis Labels are generated automatically based on the axis scale and displayed along the axis. The AxisBase.ShowLabels property specifies whether labels are visible.

AxisLabels

The following markup customizes the text format, rotation angle and font size of axis labels:

<Charts:CartesianChart.AxisX>
    <Charts:AxisX ShowLabels="True"
                  LabelPattern="{}{V:MMMM}" 
                  LabelAngle="0"/>
</Charts:CartesianChart.AxisX>
<Charts:CartesianChart.AxisY>
    <Charts:AxisY ShowLabels="True" 
                  LabelPattern="${V}K"/>
</Charts:CartesianChart.AxisY>