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

Category Axis looks crashed on Grpah

2 Answers 89 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Koby
Top achievements
Rank 1
Koby asked on 29 Oct 2013, 04:56 PM
Hi,

I am using 2013.2.716

For some reason - since yesterday, all my graphs category axis looks crashed.
I am using  chart with Dates as category Axis. the graph looks ok but the category line looks Smashed.

Symptoms:
1. this only occurs on some client browsers machine. 
2. affects all browsers.
3. The problem comes when I use dates that are before and after DST change on hour local settings (27/10).
I.e. : start date is 25/10 and end date 29/10 - is crashed. if both before 26/10 it looks fine
4. if We change Time settings - this problem is also solved.

What is weirder is that this worked fine yesterday- And we did not change anything Lately.

I saw this past thread:
http://www.kendoui.com/forums/kendo-ui-dataviz/chart/charts-appear-crushed-on-ie-7-thru-9-on-some-user-machines.aspx
but it doesn't help me here, I tried adding height and width properties.
 
Attached is the screen shot and a file showing how I use the graph.


please advise.

Thanks,
 

2 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 30 Oct 2013, 12:36 PM
Hi Koby,

Date objects in JavaScript are always created with a timezone offset taken from the operating system's clock. That is the reason why the problem occurs on some machines and disappears when the timezone is set to Aman's, however the attached screenshots and code snippets do not reveal what exactly causes the issue. Could you please provide a runnable project where the issue is reproduced?  This would help us pinpoint the exact reason for this behavior and advise you further. In case you do not want to, or legally cannot send us a copy of the project, then I would recommend checking the following blog posts. They can help you isolate the issue in a sample project that you can share with us:

On a side note I would like to remind that it is highly recommended that you keep related questions in one support thread or a forum post, so that we can easily keep track of your support history and provide better answers in a shorter time.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Koby
Top achievements
Rank 1
answered on 18 Nov 2013, 01:24 PM
Thanks Alexander,

Exporting a runnable project will not work here, as you mentioned this issue can be reproduce only on some PC .

Just as future reference to who ever comes across this issue, we found a simple work around:

Simply passing the Dates to category Axis as string rather using date objects. using it as any string and omitting the use of date format seemed to do the trick for us.


Tags
Charts
Asked by
Koby
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Koby
Top achievements
Rank 1
Share this question
or