TcursorTool and show y value of several series

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

TcursorTool and show y value of several series

Post by Calou » Thu Apr 30, 2009 7:34 am

Hello,

I have this chart http://www.cijoint.fr/cjlink.php?file=c ... r7Ap2N.jpg

I use TCursorTool and i want to display all the y values of the series for a x value.

I am able to display it for one series but for all i don't find the correct way

How could i do that?

Thank you for help

Regards

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

Post by Yeray » Thu Apr 30, 2009 10:08 am

Hi Calou,

Here there is a thread where another customer asked the same. If you find problems, don't hesitate to ask anything.
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

Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

Post by Calou » Thu Apr 30, 2009 10:16 am

I have an other problem with tcursortool

On the ChartTool1Change event when i want to read the valueindex it is always -1 ??

Regards

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

Post by Yeray » Thu Apr 30, 2009 11:02 am

Hi Calou,

This ValueIndex has only sense with a series associated to the tool and snap as true:

Code: Select all

  ChartTool1.Series := Series1;
  ChartTool1.Snap := true;
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

Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

Post by Calou » Thu Apr 30, 2009 11:16 am

ah yes! it is logical :oops:

Thanks

Post Reply