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

    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
  2. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 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.

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top