Closed tbj128 closed 2 months ago
would you mind making a jsfiddle repro that i can debug? e.g. https://jsfiddle.net/vmy4hfq8/
Unfortunately I'm unable to replicate in the JSFiddle so it might be due to the uplot-react wrapper we're using. I've added a null-check patch into our code base for now. I will reopen this issue if I can replicate. Thanks for the quick response.
Hello!
I've noticed when rendering a large number of datapoints across multiple series (> 1000 points, > 5 series), sometimes (~25% of the time) I will run into the following error:
This error is referencing this line: https://github.com/leeoniya/uPlot/blob/5756e3e9b91270b303157e14bd0174311047d983/src/uPlot.js#L1950
Since the value of this field starts is only set in this method: https://github.com/leeoniya/uPlot/blob/5756e3e9b91270b303157e14bd0174311047d983/src/uPlot.js#L1787
Could there be a race condition that leads into this error?
If not, do you have any recommendations on what might be causing this error? Thanks!