FIFO Chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Stevez
Newbie
Newbie
Posts: 5
Joined: Thu May 29, 2008 12:00 am

FIFO Chart

Post by Stevez » Wed Jun 18, 2008 9:19 pm

I am adding records to a dataset at a rate of 5 new records every second.
At midnight I clear the database and start from scratch.

How would you rcommend I display the 100 most recent records?

Currently I monitor the dataset size and when it reached 100 records I delete the first record and add the last. Is there a better way?

Thank you.

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

Post by Narcís » Thu Jun 19, 2008 9:05 am

Hi Stevez,

I strongly recommend you to read 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