Refreshing a chart containing half a million points
Posted: Mon Apr 11, 2016 5:44 pm
Hi,
A user has generated a chart containing multiple series including a THistogramSeries with nearly 200,000 data values, and another TLineSeries containing nearly 250,000 points. You may ask why they do this, as there's no way you can see the detail of so many points on one chart. But, once generated, merely moving the mouse over the graph causes the application to seemingly hang while, I presume, the pixels obscured by the moving cursor are repainted. I don't know whether the chart is laboriously recalculating all the pixel positions for these series, but is there any way I can improve performance? Do I need to persuade users to be satisfied with all their data as TFastLineSeries?
Thanks for any advice
Toreba
A user has generated a chart containing multiple series including a THistogramSeries with nearly 200,000 data values, and another TLineSeries containing nearly 250,000 points. You may ask why they do this, as there's no way you can see the detail of so many points on one chart. But, once generated, merely moving the mouse over the graph causes the application to seemingly hang while, I presume, the pixels obscured by the moving cursor are repainted. I don't know whether the chart is laboriously recalculating all the pixel positions for these series, but is there any way I can improve performance? Do I need to persuade users to be satisfied with all their data as TFastLineSeries?
Thanks for any advice
Toreba