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

3 posts, 1 answers
  1. Joon-Sae
    Joon-Sae avatar
    9 posts
    Member since:
    Mar 2014

    Posted 14 Oct Link to this post

    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. Answer
    Stefan
    Admin
    Stefan avatar
    1394 posts

    Posted 17 Oct Link to this post

    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.
  3. Joon-Sae
    Joon-Sae avatar
    9 posts
    Member since:
    Mar 2014

    Posted 17 Oct in reply to Stefan Link to this post

    Awesome, that did the trick.  Thank you!
Back to Top