Display Tooltip on specific chart point

TeeChart for ActiveX, COM and ASP
Post Reply
guilz2010
Newbie
Newbie
Posts: 63
Joined: Thu Nov 25, 2010 12:00 am
Location: Paris, France

Display Tooltip on specific chart point

Post by guilz2010 » Tue Jul 12, 2011 4:26 pm

Hi,

We would like to display tooltip when user move mouse cursor on our triangle Points(in down red or up blue here) (please look at our example)
Tooltips.jpg
Tooltips.jpg (96.44 KiB) Viewed 8257 times
In fact we would like to display only 1 mark on the mouse cursor position

How can we do this ?

Thank you for your help

Regards,

Guilz

guilz2010
Newbie
Newbie
Posts: 63
Joined: Thu Nov 25, 2010 12:00 am
Location: Paris, France

Re: Display Tooltip on specific chart point

Post by guilz2010 » Wed Jul 13, 2011 8:20 am

The Rectangle Tool - MouseOverHints Demo is a good answer to my need but I don't want users could change the rectangle size...Is it possible to block this ?
Tooltips2.jpg
Tooltips2.jpg (55.37 KiB) Viewed 8172 times

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

Re: Display Tooltip on specific chart point

Post by Yeray » Wed Jul 13, 2011 9:16 am

Hello Guilz,

Yes, here there are a pair of properties you could be interested in:

Code: Select all

  TChart1.Tools.Items(0).asRectangle.AllowResize = False
  TChart1.Tools.Items(0).asRectangle.AllowDrag = False
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

guilz2010
Newbie
Newbie
Posts: 63
Joined: Thu Nov 25, 2010 12:00 am
Location: Paris, France

Re: Display Tooltip on specific chart point

Post by guilz2010 » Wed Jul 13, 2011 9:19 am

Thank you Yeray, I will try it :D

Regards,

Guilz

Post Reply