Page 1 of 1

TCursorTool does not return ValueIndex

Posted: Fri Feb 11, 2005 11:42 am
by 9340812
I have added the event, TCursorToolChangeEvent to my code and set the tool to series1. This then fires the event when I move the cursor on the chart but the ValueIndex is always -1.

How do I get this to indicate which record I am pointing to?

I need this to be able to extract the YValue's for each of the lines in my chart.

Thanks
Dave...

Posted: Fri Feb 11, 2005 12:06 pm
by narcis
Hi Dave,

That's because you have to set the Chart Tool Snap property to true or else it is not pointing to an exact point.