Gantt Chart Bar ToolTips/Hints

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
oneofsomany
Newbie
Newbie
Posts: 5
Joined: Tue Oct 14, 2014 12:00 am

Gantt Chart Bar ToolTips/Hints

Post by oneofsomany » Wed Oct 15, 2014 6:56 pm

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?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Gantt Chart Bar ToolTips/Hints

Post by Yeray » Thu Oct 16, 2014 8:57 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

oneofsomany
Newbie
Newbie
Posts: 5
Joined: Tue Oct 14, 2014 12:00 am

Re: Gantt Chart Bar ToolTips/Hints

Post by oneofsomany » Thu Oct 16, 2014 10:18 am

Thanks, that was enough of a pointer to get me started. im creating custom balloon tooltips at the x/y cursor location now. :)

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Gantt Chart Bar ToolTips/Hints

Post by Yeray » Thu Oct 16, 2014 10:56 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply