I have a line chart showing one weeks worth of hourly data (168 values). The categoryAxis labels overlap even when they are rotated 90 degrees. How can I show the label for only every 6th or 12th value to prevent this?
1 Answer, 1 is accepted
0
T. Tsonev
Telerik team
answered on 20 Feb 2012, 09:05 AM
Hi,
We've introduced a new label step property to allow this behavior. The property will be available available in the Q1 beta release that is scheduled for the end of February.
categoryAxis: {
labels: {
step: 6
}
}
Another option would be to emulate a date axis using a scatter chart by representing the dates as milliseconds. I've prepared a small demo here - http://jsbin.com/ihegav/edit#html,live
I hope this helps.
All the best,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!