Articles in this section
Category / Section

How to display chart axis labels between the ticks?

1 min read

Chart allows you to position the category axis labels between the ticks. You can use the LabelPlacement property of the CategoryAxis to customize the tick position. By default, the value of the LabelPlacement property is OnTicks.


    <chart:CategoryAxis LabelPlacement="BetweenTicks" >


Chart.PrimaryAxis = new CategoryAxis { LabelPlacement = LabelPlacement.BetweenTicks };

The following screenshot displays the axis labels between the ticks.


Chart with labels placed between axis ticklines in Xamarin.Forms

Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment