We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to show all the axis labels

By default, the axis labels that are intersected with each other will be hidden. SfChart has options to make all the labels visible and position the collided labels smartly. You can either place the intersecting labels in multiple rows or rotate all the labels to fix in available position.

The following code snippet and screenshot demonstrate how to place the collided labels in multiple rows by setting the LabelsIntersectAction property to MultipleRows.

XAML:

 

C#:   

 

Screenshot:

C:\Users\manojkiran.sudhakar\AppData\Local\Microsoft\Windows\INetCache\Content.Word\Screenshot_2017-12-21-10-43-02-707.jpeg

 

Alternatively, we have also an another option to rotate all the labels to avoid collision. Please refer the following code snippet and screenshot.

XAML:

 

C#:

 

Screenshot:

C:\Users\manojkiran.sudhakar\AppData\Local\Microsoft\Windows\INetCache\Content.Word\Screenshot_2017-12-21-10-40-58-780.jpeg

Article ID: Published Date: Last Revised Date: Platform: Control:
8242 12/21/2017 03/01/2018 Xamarin.Forms SfChart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.