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. Image for the cookie policy date

How do you rotate x-axis labels?

Depending on the number of x-axis labels, they overlap and make it hard to read.  Is there a way to rotate the labels at 45 or 90 degrees so they are all visible?

1 Reply

AT Anandaraj T Syncfusion Team July 30, 2014 04:50 AM UTC

Hi Anthony,

Thanks for using Syncfusion products.

We suggest you to use "labelRotation" property of primaryXAxis to rotate x-axis labels.

Please refer the following code snippet to achieve this.
                              title: { text: 'Countries' },
                              labelRotation: 90,

We have created a simple sample for rotating labels of x-axis and it can be downloaded from the following link.

Please let us know if you have any concern.


Live Chat Icon For mobile
Up arrow icon