Maksym Shpak
Maksym Shpak

Reputation: 187

Clickable HTML element that closes Highcharts tooltip

I need to implement a tooltip with a close icon which will close the tooltip if tapped. The icon is and HTML element rendered using formatter function, jsFiddle: http://jsfiddle.net/e56KT/

<div>Clickable close</div> 

is a node which will be replaced with an icon).

Is there way to implement it?

Upvotes: 0

Views: 1734

Answers (1)

Paweł Fus
Paweł Fus

Reputation: 45079

You can hide tooltip using chart.tooltip.hide(), so for example: http://jsfiddle.net/e56KT/1/

Upvotes: 1

Related Questions