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

Number of values on category axis

1 Answer 65 Views
Charts
This is a migrated thread and some comments may be shown as answers.
massimiliano
Top achievements
Rank 1
massimiliano asked on 06 Dec 2011, 11:59 AM
Hi,
I've been using KendoUI since october and I also partecipated to the webinar. I'm really interested for the dataviz part of kendoui, but I have one request(or a question if it's already possible): is it possible to decide the number of ticks on the category axis?
I mean, I have to manage graphs that have on the category axis dates (divided per day), but if I choose a long period (6 months for example), the dates are unreadable(they are overlapped), and in other graph tools I've tried there's an option to decide the number of ticks on the category axis.

Thanks,
Massimiliano

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 07 Dec 2011, 05:18 PM
Hello Massimiliano,

Thank you for contacting us.

You can't change the tick number, but if you have problem with the overlapping labels you can rotate the labels of the category axis:

categoryAxis: {
    labels: {
        rotation: 90
    }
}
All the best,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
massimiliano
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or