TLineSeries and decimation

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Totte Karlsson
Newbie
Newbie
Posts: 9
Joined: Thu Apr 28, 2011 12:00 am

TLineSeries and decimation

Post by Totte Karlsson » Sun May 29, 2011 5:44 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TLineSeries and decimation

Post by Narcís » Mon May 30, 2011 7:19 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply