Page 1 of 1

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

Posted: Fri Jan 25, 2008 2:23 pm
by 9232632
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.

Posted: Fri Jan 25, 2008 3:54 pm
by narcis
Hi rperkins,

Yes, you can do as shown in the interpolation example I posted here.

Posted: Fri Jan 25, 2008 6:48 pm
by 9232632
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