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

Chart - Group labels on x Axis

1 Answer 261 Views
Charts
This is a migrated thread and some comments may be shown as answers.
AdrianP
Top achievements
Rank 2
AdrianP asked on 29 May 2014, 11:18 AM
Hello,

On my page I have a Kendo chart.

The chart contains weeks on the xAxis, and the labels are displayed correctly. Is it possible to group the week labels by month name, like in the image bellow, but
still keep the series lines on a week basis?

Thank you,
Adrian

1 Answer, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 30 May 2014, 08:06 AM
Hello Adrian,

To achieve the illustrated outcome I can suggest the following:
- Use two category axes (one with baseUnit weeks and the other one with baseUnit months);
- Hide the first categoryAxis.
For your convenience here is a simple example which demonstrates the suggested approach in action.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
AdrianP
Top achievements
Rank 2
Answers by
Iliana Dyankova
Telerik team
Share this question
or