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 );
Data points on Cursor
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi --
How about using the XVal and YVal parameters of the ITChart.OnCursorToolChange() (see Help for details) event?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.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/