Circular or limited chart buffer

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Lorenzo
Newbie
Newbie
Posts: 1
Joined: Wed Feb 26, 2020 12:00 am

Circular or limited chart buffer

Post by Lorenzo » Wed May 19, 2021 3:54 pm

I have to draw the chart of a procedure that can last several days, I don't care that all the points entered are stored in the graph, it would be enough for me to view only the most recent part, there is a way to make sure that the oldest data are eliminated gradually?
At the moment the only way I have found is to delete them via the 'Delete' command, but it is a very slow procedure!

Thanks

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Circular or limited chart buffer

Post by Yeray » Thu May 20, 2021 11:13 am

Hello,

The Delete method should be the fastest way to remove points. Have you seen the example here?
2021-05-20_13-08-43.gif
2021-05-20_13-08-43.gif (363.47 KiB) Viewed 6748 times
If you still find problems with it, please arrange a simple example project we can run as-is to reproduce the problem here.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply