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

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

6 Answers 113 Views
Charts
This is a migrated thread and some comments may be shown as answers.
DVS InteleStream
Top achievements
Rank 1
DVS InteleStream asked on 25 Mar 2016, 07:24 PM

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.

6 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 29 Mar 2016, 06:23 AM
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!
 
0
DVS InteleStream
Top achievements
Rank 1
answered on 29 Mar 2016, 09:03 PM

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).

0
Accepted
Iliana Dyankova
Telerik team
answered on 31 Mar 2016, 12:04 PM
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!
 
0
DVS InteleStream
Top achievements
Rank 1
answered on 31 Mar 2016, 06:43 PM

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

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

0
Accepted
Iliana Dyankova
Telerik team
answered on 04 Apr 2016, 02:47 PM
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!
 
0
DVS InteleStream
Top achievements
Rank 1
answered on 04 Apr 2016, 04:40 PM
Great, thank you.
Tags
Charts
Asked by
DVS InteleStream
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
DVS InteleStream
Top achievements
Rank 1
Share this question
or