vipin
Posts: 32
Joined: Tue Mar 02, 2010 3:38 pm

Tool tip bubble delay

Hi,
how can we delay the tooltip bubble in the highcharts to avoid unnessary database calls for images stored in the database while we hover over the images.Not delaying the tooltip will turn out to be very expensive for the scatterplot where we have thousands of datapoints.

Thank you,
Vipendra
Les
Posts: 83
Joined: Tue Jan 26, 2010 6:37 pm
Location: Chicago, IL

Re: Tool tip bubble delay

You can probably solve this problem by using timers.

As an example, see the fly-out menu:

http://www.filamentgroup.com/lab/jquery ... out_menus/

If you take a look at the code, you will see that they create and cancel timers. As you quickly move the cursor, the flyout menu is canceled, and then when you slow down, the menu flies out.
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

Re: Tool tip bubble delay

Vipendra,

Consider disabling the default tooltip, which is optimized for speed, and instead use the point.mouseover event to create your own, delayed, tooltip with images inside it.
Torstein Hønsi
CTO, Founder
Highsoft

Return to “Highcharts Usage”