Axes
The Cartesian chart contains two perpendicular axes - the argument axis (the X-axis) and the value axis (the Y-axis). The chart uses axes to display data points according to their arguments and values on the coordinate system.
You can show the following axis elements to make the chart’s data easier to read:
The example below displays axis lines, customizes axis labels, and enables interlacing for the X-axis:
<Charts:CartesianChart.AxisX>
<Charts:AxisX ShowLine="True"
Interlaced="True"
InterlacedBrush="AliceBlue"
LabelPattern="{}{V} year"/>
</Charts:CartesianChart.AxisX>
<Charts:CartesianChart.AxisY>
<Charts:AxisY ShowLine="True"
Title="Population mid-year in millions"
LabelPattern="{}{V}"/>
</Charts:CartesianChart.AxisY>
For more information on axes, refer to the following topic in the API Reference section: AxisBase.