You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two identical datasets each with 3600 entires, where each entry looks like this and defers either by 10 seconds or 30 seconds (chart shows sensor measures with either 10 or 30 seconds intervals):
data:
[
{ y:25, x:new moment ('2020-07-08T03:04:21')},
{ y:25, x:new moment ('2020-07-08T03:04:31')},
.... 3600 total entries
}
Problem:
Exception is reported (and chart is not rendered):
chart.js@2.9.3:7 Uncaught 1594203771000 and 1594311811000 are too far apart with stepSize of 1 second
chart.js@2.9.3:7 Uncaught TypeError: Cannot read property 'skip' of undefined
at Qt (chart.js@2.9.3:7)
at te (chart.js@2.9.3:7)
at ie (chart.js@2.9.3:7)
at Qe.getElementsAtEventForMode (chart.js@2.9.3:7)
at Qe.handleEvent (chart.js@2.9.3:7)
at Qe.eventHandler (chart.js@2.9.3:7)
at n (chart.js@2.9.3:7)
at HTMLCanvasElement.Me.<computed> (chart.js@2.9.3:7)
When there are say around 1000 data points, chart is rendered and no exceptions are reported.
Environment
Chart.js v2.9.3
All browsers (Chrome, Edge)
The text was updated successfully, but these errors were encountered:
I have a HTML (server generated) that renders chartJS.
Relevant code:
There are two identical datasets each with 3600 entires, where each entry looks like this and defers either by 10 seconds or 30 seconds (chart shows sensor measures with either 10 or 30 seconds intervals):
data:
[
{ y:25, x:new moment ('2020-07-08T03:04:21')},
{ y:25, x:new moment ('2020-07-08T03:04:31')},
.... 3600 total entries
}
Problem:
Exception is reported (and chart is not rendered):
When there are say around 1000 data points, chart is rendered and no exceptions are reported.
Environment
Chart.js v2.9.3
All browsers (Chrome, Edge)
The text was updated successfully, but these errors were encountered: