Free or lasso select in TeeChart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
XRD_Tom
Newbie
Newbie
Posts: 8
Joined: Fri Oct 30, 2020 12:00 am

Free or lasso select in TeeChart

Post by XRD_Tom » Sun Jan 23, 2022 11:18 am

Helllo,

I am looking for a way to select data points in a 3D Chart by drawing a free line (or lasso) around them.
Like shown in the picture:
LassoSelect3DPCAPlotCapture.PNG
LassoSelect3DPCAPlotCapture.PNG (180.74 KiB) Viewed 5539 times
Is that possible at all and is there maybe some example code available?

Best regards,

Tom

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

Re: Free or lasso select in TeeChart

Post by Yeray » Wed Jan 26, 2022 10:03 am

Hello Tom,

There's no built-in method for this, but it should be possible to calculate the drawing polygon and loop the points to check which ones are inside it.
If you still find problems with it, please send us 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