Iām trying to plot data recorded every 2 seconds for a 7 day period. This equals 43200 points per trace per day. The regular āscatterā produced plots that were too slow to interact with so I tried āScatterglā. It works great for no more than two days of data (86400 points per trace) however if I try to plot three days of data (129600 points per trace) the plots wonāt display at all in Chrome and it gives this error:
ASC-L_weekly_2018-11-07.html:7 Uncaught TypeError: Cannot read property 'sizeAvg' of undefined
at Object.calc (ASC-L_weekly_2018-11-07.html:7)
at _ (ASC-L_weekly_2018-11-07.html:7)
at Object.v.doCalcdata (ASC-L_weekly_2018-11-07.html:7)
at Object.r.plot (ASC-L_weekly_2018-11-07.html:7)
at Object.r.newPlot (ASC-L_weekly_2018-11-07.html:7)
at ASC-L_weekly_2018-11-07.html:7
ASC-L_weekly_2018-11-07.html:7 Uncaught TypeError: Cannot read property '0' of undefined
at Object.v.supplyDefaultsUpdateCalc (ASC-L_weekly_2018-11-07.html:7)
at Object.v.supplyDefaults (ASC-L_weekly_2018-11-07.html:7)
at r.plot (ASC-L_weekly_2018-11-07.html:7)
at Object.r.call (ASC-L_weekly_2018-11-07.html:7)
at r.layoutReplot (ASC-L_weekly_2018-11-07.html:7)
at Object.l.syncOrAsync (ASC-L_weekly_2018-11-07.html:7)
at t (ASC-L_weekly_2018-11-07.html:7)
at Object.r.call (ASC-L_weekly_2018-11-07.html:7)
at ASC-L_weekly_2018-11-07.html:7
Same thing happens in firefox with this error:
TypeError: k.marker is undefined[Learn More]
ASC0-3_weekly_2018-11-07.html:7:2766472
calc_
[809]</v.doCalcdata
[732]</r.plot
[732]</r.newPlot
<anonymous>
TypeError: t[r] is undefined[Learn More]
ASC0-3_weekly_2018-11-07.html:7:2289251
[809]</v.supplyDefaultsUpdateCalc
[809]</v.supplyDefaults
[732]</r.plot
[828]</r.call
[736]</r.layoutReplot
[696]</l.syncOrAsync
t
[828]</r.call
[809]</v.resize/</t._redrawTimer<
I have done some experimentation and I have found some additional things:
- There is no problem if I change the mode from ālinesā to āmarkersā.
- My data is plotted against a datetime and it doesnāt make any difference if it is changed to a numerical index.
- The problem appears to be with the number of points per trace, not the total number of points. I can add additional traces and nothing changes.
I did some searching I couldnāt find anything about this. Is this a known issue? Is there a workaround for this that I can use to make my plots work?