getting a Y value given the X value of a series on a chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
rperkins
Newbie
Newbie
Posts: 58
Joined: Wed May 26, 2004 4:00 am

getting a Y value given the X value of a series on a chart

Post by rperkins » Fri Jan 25, 2008 2:23 pm

is it possible to query the chart to get the Y value of a series given the X value? the X value may not be a value that was added as a point on the chart, eg. i add values at x=1 and x=2, but want to find the Y value for x=1.5.

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

Post by Narcís » Fri Jan 25, 2008 3:54 pm

Hi rperkins,

Yes, you can do as shown in the interpolation example I posted here.
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

rperkins
Newbie
Newbie
Posts: 58
Joined: Wed May 26, 2004 4:00 am

Post by rperkins » Fri Jan 25, 2008 6:48 pm

thanks for the referral to the Interpolation Example. was thinking i'd have to resort to something like that.

copied the example and am working to incorporate this into Borland Builder 6.0. so far, so good.

thanks

Post Reply