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

Line Chart / Date Series, Date Category does not match plot point

2 Answers 95 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Joon-Sae
Top achievements
Rank 1
Joon-Sae asked on 14 Oct 2017, 11:19 PM

https://dojo.telerik.com/EHiYU

In the datasource, the 4th date plot point is October 21, with a Revenue of 64, however when you run it the 4th plot point on the chart appears as October 18, with a Revenue of 64.

What's going on?

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 17 Oct 2017, 11:45 AM
Hello, Joon-Sae,

Thank you for the runnable example.

The issue occurs, as the tooltip is showing the category instead of the actual data item value. If the dataItem.date is used, the correct date will be displayed:

https://dojo.telerik.com/EHiYU/4

https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-tooltip.template

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Joon-Sae
Top achievements
Rank 1
answered on 17 Oct 2017, 02:52 PM
Awesome, that did the trick.  Thank you!
Tags
Charts
Asked by
Joon-Sae
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Joon-Sae
Top achievements
Rank 1
Share this question
or