This is a migrated thread and some comments may be shown as answers.

[Solved] Display categoryAxis labels vertically

1 Answer 307 Views
Chart for HTML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Grigory
Top achievements
Rank 1
Grigory asked on 23 Feb 2013, 09:27 PM
Hi,
how can I display categories vertically or 45 degree angle in my line chart?
I have too many items so they overlap each other.

And I want something like this


So, is there support for that or I should look for a workaround?

1 Answer, 1 is accepted

Sort by
0
Accepted
Tsvetina
Telerik team
answered on 24 Feb 2013, 01:01 PM
Hi Grigory,

You can use the labels.rotation property of the category axis to set a rotation angle to its labels. A 45 degree angle in this direction can be achieved with the following setting:
categoryAxis: {
    labels: {
        rotation: 315
    }
}


All the best,
Tsvetina
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart for HTML
Asked by
Grigory
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or