Chart - Group labels on x Axis

2 posts, 1 answers
  1. AdrianP
    AdrianP avatar
    22 posts
    Member since:
    Nov 2007

    Posted 29 May 2014 Link to this post


    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,
  2. Answer
    Iliana Nikolova
    Iliana Nikolova avatar
    2622 posts

    Posted 30 May 2014 Link to this post

    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.

    Iliana Nikolova
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top