Page 1 of 1

constant number of points in Serie

Posted: Mon Jun 06, 2005 11:04 am
by 8438204
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.

Posted: Mon Jun 06, 2005 1:17 pm
by narcis
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".