I’m using the HighCharts-Stock, and need to detect when mouse hovers over one of the points in the chart.
Here’s my code:
window.chart = new Highcharts.StockChart({
plotOptions: {
area: {
point: {
events: {
mouseOver: function () {
alert('over');
},
mouseOut: function () {
alert('out');
},
select: function () {
alert('select');
},
unselect: function () {
alert('unselect');
}
}
}
}
}, .....}
but non of these events fires!
How can I enable them?
If “area” was replaced with “line”, it will work!
because this indicates the type of chart I’m using.