Page 1 of 1

TLineSeries and decimation

Posted: Sun May 29, 2011 5:44 pm
by 16459186
Hi,
I have some data that are becoming very large. Each series > millions.

To show such a dataset I will need to decimate, I guess, the data, otherwise the plotting becomes really slow.

Question is, do I have to decimate before adding to TLineSeries or is there any inbuilt decimation available?

Would be great if one could specify how many points to show (plot) for a Serie, regardless how many points are available within the series itself.

Totte

Re: TLineSeries and decimation

Posted: Mon May 30, 2011 7:19 am
by narcis
Hi Totte,
To show such a dataset I will need to decimate, I guess, the data, otherwise the plotting becomes really slow.
In that case I recommend you to follow the approach explained at the Real-time Charting article at http://www.teechart.net/reference/articles/index.php.
Question is, do I have to decimate before adding to TLineSeries or is there any inbuilt decimation available?
There's a built-in mechanism. This is DownSampling function and I explained how it works here.
Would be great if one could specify how many points to show (plot) for a Serie, regardless how many points are available within the series itself.
There's not a fixed number of points you can display in a series/chart. The only limitation here is the memory of the machine where the application runs.