Line chart category axis and chart dots

2 posts, 0 answers
  1. Victor
    Victor avatar
    2 posts
    Member since:
    Jun 2013

    Posted 20 Jan 2015 Link to this post

    I'm trying to create a chart with the x-axis (horizontal) being a date/timeline and the y-axis (vertical) being the values. I want to show each value in the chart (4 values per year), but only displaying the year in the x-axis.

    I've been trying to work with the settings on the categoryAxis object, but can't seem to get it to work.

    I have illustrated the issue below in two images.

    One having the correct x-axis, but not the correct number of dots and the other one having the correct number of dots, but not the correct x-axis. 

  2. Iliana Nikolova
    Iliana Nikolova avatar
    2622 posts

    Posted 21 Jan 2015 Link to this post

    Hi Victor,

    I replied to the same question your other thread, however here is my answer too:

    This scenario is not supported out-of-the-box by Kendo UI Line Chart. As workarounds I could suggest the following options:
    - Use ScatterLine chart with date axis (online demo);
    - Use Line chart and define two category axes with different baseUnits (like in this example). 
    Let me know if these suggestions fit the current requirements or I can assist you further. I wish you a great day!

    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