Hi mkbhj,
We appreciate you reaching out to us!
In Highcharts there is no implementation of double click events, but there is a way to inject some code to recognize if there was a single or double click. To implement this feature it is needed to extend function, which is responsible for events caching. You can find out more about extending functions here
https://www.highcharts.com/docs/extendi ... highcharts. To make this you have to make a
customPlugin.ts file where you need to use
H.wrap function, which wraps function
setRootNode from
H.seriesTypes.treemap.prototype - this function is called when drilling event is fired. In this
wrap you have to recognize type of click. There is a lot of approaches to achieve this, I made it with
setTimeout method to check if user clicked second time in 500 ms after first click. Then in
app.component.ts you have to initialize
customPlugin. Then to implement getting a value from point when there is a single click you can add a function in
point.events.click property with optional implementing a feature to prevent showing value a many times (when double click makes two single clicks events).
Demo: https://stackblitz.com/edit/highcharts- ... mponent.ts
Docs: https://www.highcharts.com/docs/extendi ... highcharts
https://github.com/highcharts/highchart ... d-a-module
API reference: https://api.highcharts.com/highcharts/s ... ents.click
Let me know if that was what you were looking for!
Best regards!