Open stanislawosinski opened 8 years ago
Sam issue here in most recent version of dimple. I'm getting a stream of data points via socketIO and want to plot the last 100 only. So as soon as my data array has >100 entries I do a dataArray.shift() to remove the oldest element.
The chart throws the errors above and messes up its display. Only the right half of the chart seems to be updating, the left half is frozen.
The following code with dimple 2.1.6:
throws
Error: Invalid value for <rect> attribute x="NaN"
on the second call to draw(). I'm fairly new to dimple -- is my code breaking some assumption and thus causes dimple to throw errors?