X-Y Coordinates

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Lucien
Newbie
Newbie
Posts: 27
Joined: Thu Oct 11, 2007 12:00 am

X-Y Coordinates

Post by Lucien » Tue Nov 13, 2007 7:14 am

I can get the values of screen coordinates and serries values using the serries and axes methods. However I need to get the corresponding X-Y values from serries. So if I have a line serries and want to get the corresponding y value of a given X. How do I do that?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Nov 13, 2007 10:13 am

Hi Lucien,

You could use Locate method similarly to what I did here and when you have the series point index you can retrieve x or y value.

Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply