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

Line chart category axis and chart dots

1 Answer 95 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Victor
Top achievements
Rank 2
Victor asked on 20 Jan 2015, 08:02 AM
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. 


1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 21 Jan 2015, 09:52 AM
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!


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
Victor
Top achievements
Rank 2
Answers by
Iliana Dyankova
Telerik team
Share this question
or