Removing Lineserie points partial - only currently zoomed

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ChristianZ
Newbie
Newbie
Posts: 4
Joined: Mon Feb 17, 2014 12:00 am

Removing Lineserie points partial - only currently zoomed

Post by ChristianZ » Tue Oct 27, 2015 3:31 pm

Dear all,

I am searching for a solution to remove those points from my line series, which are in the current zoom rectangle.
I know of the LineSeries.Delete(Start, Count) Method - but how do I get my starting and end Index for the points being displayed ?

Thanks in advance for any help
CZ

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

Re: Removing Lineserie points partial - only currently zoomed

Post by Yeray » Fri Oct 30, 2015 11:02 am

Hello CZ,

Try with FirstValueIndex and LastValueIndex.
If you still find problems with it, please try to arrange a simple example project we can run as-is to reproduce the situation 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