Page 1 of 1

Gantt Chart Bar ToolTips/Hints

Posted: Wed Oct 15, 2014 6:56 pm
by 16870423
I want to be able to show a custom tooltip/hint when the mouse is over any of the bars on my Gantt series. How do I accomplish this using teechart 2014 standard?

Re: Gantt Chart Bar ToolTips/Hints

Posted: Thu Oct 16, 2014 8:57 am
by yeray
Hello,

Since the Chart Tools are only included with the Pro version, you can't use the MarksTipTool.
http://www.steema.com/featurematrix/vcl

Then, I'm afraid the only alternative I can think on is to use the series Clicked function to retrieve the ValueIndex under the mouse at the OnMouseMove event. Store this index, probably force a Chart repaint (Chart1.Draw) and use custom drawing functions at OnAfterDraw event when the index has been stored.

Re: Gantt Chart Bar ToolTips/Hints

Posted: Thu Oct 16, 2014 10:18 am
by 16870423
Thanks, that was enough of a pointer to get me started. im creating custom balloon tooltips at the x/y cursor location now. :)

Re: Gantt Chart Bar ToolTips/Hints

Posted: Thu Oct 16, 2014 10:56 am
by yeray
Hi,
oneofsomany wrote:Thanks, that was enough of a pointer to get me started. im creating custom balloon tooltips at the x/y cursor location now. :)
Great! Don't hesitate to let us know if you find any problem with it.