Data being cutoff in chart with categoryAxis type="date"

7 posts, 2 answers
  1. DVS InteleStream
    DVS InteleStream avatar
    20 posts
    Member since:
    Oct 2009

    Posted 25 Mar Link to this post

    Hello,

    I have 4 data points on this line chart, and it looks like the last data point is getting cutoff.  (Actually is being combined into the third data point).

    Example here: https://jsbin.com/yejage/3/edit

    It will show the last data point if I change the categoryAxis type to "category" or even if I change the "Date" value of the last data point to "T05:00:00" as the Time, instead of "T00:00:00".

    Am I missing something here?  Would like to keep categoryAxis as type="date" to take advantage of built-in date filtering and formatting.  Would also like to not include the time, even though it is shown in the example.

    Thanks for your help.

  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 29 Mar Link to this post

    Hello David,

    By design, when date axis is used the data is aggregated for a particular period and this behavior cannot be prevented. However, in the provided example all four points are rendered. Could you please take a look at this short screencast capture and let me know what I am missing?

    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
  4. DVS InteleStream
    DVS InteleStream avatar
    20 posts
    Member since:
    Oct 2009

    Posted 29 Mar in reply to Iliana Nikolova Link to this post

    Hi Iliana,

    Weird, I've tested in multiple browsers / OS and the fourth data point gets cutoff for me.

    See attached screenshot from latest version of Chrome (50.0.2661.49) on Mac (10.9.5).

  5. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 31 Mar Link to this post

    Hi David,

    Thank you for getting back to me. I changed my current timezone and was able to reproduce the issue - it is related to a DST change. We have already addressed this problem in Kendo UI Chart - a fix is available in our latest internal build (which you could download from your account). Please test your application using the internal build and let me know if this will help.

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. DVS InteleStream
    DVS InteleStream avatar
    20 posts
    Member since:
    Oct 2009

    Posted 31 Mar in reply to Iliana Nikolova Link to this post

    Yes, thanks!  Using the latest internal build did resolve this.

    Do you know if this will be released in a SP or Q2 release?

  7. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 04 Apr Link to this post

    Hi David,

    Yes, this fix will be included in Kendo UI Q1 SP2 which is expected by the end of the current week.

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  8. DVS InteleStream
    DVS InteleStream avatar
    20 posts
    Member since:
    Oct 2009

    Posted 04 Apr Link to this post

    Great, thank you.
Back to Top
Kendo UI is VS 2017 Ready