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.
Cross Hair with X,Y Display
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |