Hi,
I have a chart that gets updated every 20 ms. New data gets added via series.addPoint(). After a while the site crashes and I think it's because highcarts gets too many points to store. What would be the best way to remove this old data that's no longer shown? I need about 500 points per series so I would like to delete all the points that surpass that limit, so the deletion is not visible in UI. I could probably store the data I receive in an array and just call series.setData() with the 500 points every 10 seconds or something. Alternatively I could remove a point when I add a point but I assume this could have negative performance effects? Could I slice the series.data somehow maybe? I tried series.setData(series.data.slice(-500)) but it didn't seem to work properly