Line chart not handled Day Light Savings (DST) properly

45 views
Skip to first unread message

Jijo AC

unread,
Nov 5, 2019, 12:46:14 AM11/5/19
to jqplot-users

Hi,

In our line plot there is two area for 1 AM to 2 AM time window because DST.

jq.png

  
In the first window we can see there is two set of points and in the second window there is no points, the data for the second window is misplaced in first window, How we can set data for second 1AM to 2AM time in second window?

 Please check following URL for the original plot.


https://117.247.179.130:8013/jqplotTest/jqp.htm

Thanks & regards 
Jijo Ambrayil

Igor P.

unread,
Nov 6, 2019, 10:25:46 PM11/6/19
to jqplot-users
Wrong dataset. Dates for X axis must be incremental (as general time goes) but in dataset X values 
"Nov 3, 2019 1:03:32 AM", "Nov 3, 2019 1:13:28 AM", "Nov 3, 2019 1:23:28 AM", "Nov 3, 2019 1:33:23 AM", "Nov 3, 2019 1:43:22 AM", "Nov 3, 2019 1:53:32 AM"
repeating twice.

Jijo AC

unread,
Nov 6, 2019, 11:25:20 PM11/6/19
to jqplot-users
Hi,
 The dataset is not wrong, we store data in GMT, which is incremental, but when we change to local time (UTC−08:00) Pacific Time(US&Canada)) it has two set of data between 1AM to 2 AM on November 3 because of DST, Thats why the plot has 2 window for 1AM to 2AM, jqplot handling DST in xaxis. Is there a way to handle the points in jqplot? 
Thank you
Jijo
Reply all
Reply to author
Forward
0 new messages