Hello,
Thanks for contacting us with your question!
You can use SVG Renderer to generate a button on the chart. Your logic of returning an object you can base on built-in
select and
unselect events for points after setting
allowPointSelect property to
true for series.
More about SVG Renderer you can read in our API:
https://api.highcharts.com/class-refere ... rer#button
Demo: https://jsfiddle.net/BlackLabel/30z42g5m/
API: https://api.highcharts.com/highcharts/p ... ointSelect
https://api.highcharts.com/highcharts/s ... nts.select
https://api.highcharts.com/highcharts/s ... s.unselect
Let me know if that was what you were looking for!
Best regards!