Hi,
I'm running an ASP application with the v5 ActiveX TeeChart control. I want to add a tooltip to an existing line series (float value). The series is datasource bound. I want the tooltip text to be bound to a different datasource column (text value). Is this possible? Can you please point me at any example code? Thanks!
Tool Tips in ActiveX v5
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi --
1. Load both the float value and the text value into the series. Change IAxisLabels.Style to talValue to display the values, not the text, on the bottom axis. Change IMarksTipTool.Style to smsLabel to display the text in the tooltips.
2. Use the TChart1_OnMarkTipToolGetText() event to load the text values into the tooltips. It would probably be better performance wise if you were to load these values into an array and access the text values from there.
OK, as far as I can see you have a couple of options:I'm running an ASP application with the v5 ActiveX TeeChart control. I want to add a tooltip to an existing line series (float value). The series is datasource bound. I want the tooltip text to be bound to a different datasource column (text value). Is this possible? Can you please point me at any example code? Thanks!
1. Load both the float value and the text value into the series. Change IAxisLabels.Style to talValue to display the values, not the text, on the bottom axis. Change IMarksTipTool.Style to smsLabel to display the text in the tooltips.
2. Use the TChart1_OnMarkTipToolGetText() event to load the text values into the tooltips. It would probably be better performance wise if you were to load these values into an array and access the text values from there.
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/