Page 1 of 1
Cross Hair with X,Y Display
Posted: Wed Jan 14, 2009 5:33 pm
by 9532498
Is there a code example that I can use to view the Cross Hair Cursor with X,Y values displayed as the mouse moves around the chart?
Thanks.
Posted: Thu Jan 15, 2009 8:37 am
by narcis
Hi nbp,
There's an interpolation example here:
http://www.teechart.net/support/viewtopic.php?t=4161
You can also just use CursorTool's OnChange event and draw an Annotation tool or use TChart1.Canvas.TextOut method to display desired text. An example can be found at
this VCL thread. Same applies to the ActiveX version.
Hope this helps.