Is there a way to get the Selected points on the chart (https://www.highcharts.com/docs/chart-concepts/series)
plotOptions: {
series: {
allowPointSelect: true
}
}
var selectedPoints = chart.getSelectedPoints();
or with the event click in the series
series: {
allowPointSelect: true,
label: {
connectorAllowed: true
},
marker: {
enabled: true,
lineWidth: 1,
radius: 4,
},
point: {
events: {
click: function (e) {
console.log(e);
},
}
},
}
I would like to be able to click on a point on a linechart (sort of like with tooltip which works) and use that point to make an annotation somewhere in my program.
Any ideas? In general just would like the ability of any callback event really.
Is there a way to get the Selected points on the chart (https://www.highcharts.com/docs/chart-concepts/series)
or with the event click in the series
I would like to be able to click on a point on a linechart (sort of like with tooltip which works) and use that point to make an annotation somewhere in my program.
Any ideas? In general just would like the ability of any callback event really.