constant number of points in Serie

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
MorenoM
Newbie
Newbie
Posts: 3
Joined: Sun Nov 02, 2003 5:00 am

constant number of points in Serie

Post by MorenoM » Mon Jun 06, 2005 11:04 am

Good Morning,

I would like to have a serie which has a maximum number of points, say 50.

If the maximum number of points has been reached then each time I add a new points the oldest point is removed in order to always display the latest 50 points.

I could not find how to do that without doing it myself. Is there is a property in a serie (Line/FastLine) that already implement such a behaviour please?

Many thanks.

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

Post by Narcís » Mon Jun 06, 2005 1:17 pm

Hello MorenoM,

Yes, this can be done using Series.Delete method and then scrolling TeeChart axes properly. You will find an example of at this article. Also an example can be found at TeeChart features demo, available at TeeChart's program group, searching for "delete".
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