Page 1 of 1

Get Y value for current mouse position

Posted: Tue Dec 01, 2009 12:18 pm
by 10546756
Hello!

I have a TLineSeries. In the CharMouseMove event I want to get the current Series Y value for the current mouse horizontal position (X).

How Do I do this?

Tried XScreenToValue and YScreenToValue but they return analog values and my Series only contains the values 0 and 1.

Regards, Mikael

Re: Get Y value for current mouse position

Posted: Tue Dec 01, 2009 2:09 pm
by narcis
Hi Mikael,

You could try using the interpolation example I posted here?

Hope this helps!