FIFO, Fixed data width/deap in Chart.Series

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
klaus
Newbie
Newbie
Posts: 4
Joined: Tue May 11, 2004 4:00 am

FIFO, Fixed data width/deap in Chart.Series

Post by klaus » Wed Jul 23, 2008 8:02 am

Hello,
with
Chart.Series[iColumn].Addxy(DateTime, iData,'',clteecolor)
I add new datapoints in the chart. Ok works.

I must limit, fix a maximum with of e.g. 1000 datapoints.
That means, if I would Addxy a 1001 data value the entriespoint No.1
should be deleted.
Like a FIFO new datavalues comes in and old ones get out. The maximum
data with shoud be fixed.
How can I solve that?

Regards Klaus

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

Post by Narcís » Wed Jul 23, 2008 8:10 am

Hi Klaus,

You can do that as shown in the Real-time Charting article here.

Hope this helps!
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