Highcharts: click events for heatmaps
highcharts
Solution
Add the events into a `plotOptions` object.
Like this:
plotOptions: {
series: {
events: {
click: function (event) {
alert('event!');
}
}
}
},
Demo: http://jsfiddle.net/robschmuecker/3UWaA/3/
Problem
I have a problem with click events on heatmaps: it works only if you click on a tooltip, but not on the chart itself. See the demo http://jsfiddle.net/3UWaA/1/ ``` chart: { type: 'heatmap', events: { click: function(event) { alert("clicked!"); } } } ``` Any suggestions how to fix this? Thanks