Rafalages
Rafalages

Reputation: 1426

How can I prevent tooltip to appears when I hover another element?

I'm developing a chart that have 2 splines and 2 scatter. I use the default tooltip formatter to exhib a tooltip based in the spline data. But when I hover a scatter despite I hide the default tooltip, before show the scatter one, it appears to have triggered again.

How can I prevent the default tooltip to be triggered?

ps: im using Highcharts 3.0.1

EDITED: I tried "chartObj.tooltip.enabled = false" but it didn't work.

Upvotes: 0

Views: 313

Answers (2)

Rafalages
Rafalages

Reputation: 1426

I solved using this code:

chartObj.tooltip.options.enabled = false;

Setting to "false" when I hover and to "true" on mouseout.

Upvotes: 0

dalmendray
dalmendray

Reputation: 51

If you don't want to show the tooltip for a particular serie in the chart, see if setting

enableMouseTracking: false

on you desired serie's properties does it.

Hope this help.

Upvotes: 1

Related Questions