You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The point click event does not work because you are rendering the chart using Canvas and it does not have any SVG elements to capture your mouseclick anymore.
There are two solutions:
Remove the Canvas rendering (slower rendering, slightly heavier on memory use due to all the svg elements)
Add a click event handler to the chart itself and find the point within the series.
events: {click: function(e){// get the clicked point by searching the KD-Treevarpoint=this.series[0].searchPoint(e);}}
I would like to handle clicks on points for large heatmap but click event does not work for my example:
http://jsfiddle.net/3y4qsazu/
I specified handler as following code:
plotOptions: {
heatmap: {
point: {
events: {
click: function() {
alert("Point was clicked!");
}
}
}
}
}
The text was updated successfully, but these errors were encountered: