Page 1 of 1

Data points on Cursor

Posted: Mon Jan 05, 2004 3:03 pm
by 9078641
I need to display the X,Y data at the current cursor position.
Is it possible to do this and have the data follow the cursor.

I did this using, but hate to re-invent the wheel if there is a built in function I would prefer to use it.

double dY = m_Chart1.Series(0).YScreenToValue( m_PointCursorXY.y );
double dX = m_Chart1.Series(0).XScreenToValue( m_PointCursorXY.x );

Posted: Wed Jan 07, 2004 7:31 am
by Chris
Hi --
I need to display the X,Y data at the current cursor position.
Is it possible to do this and have the data follow the cursor.
How about using the XVal and YVal parameters of the ITChart.OnCursorToolChange() (see Help for details) event?