I want to select/deselect the cell in Heatmap by clicking on the cell. The selected cell should have checkmark. (this check mark will be svg element). https://jsfiddle.net/m9cvfrae/8/.
The functionality that you wanted can be achieved in two different ways:
#1 by using select / unselect events and plotOptions.series.allowPointSelect
This solution lets you select one point by clicking on it or multiple points by pressing Control, Shift or Cmd and then clicking on the specific point
Hi, I also want to add some opacity and border to the checked cells. I have managed to add opacity but this opacity is getting applied to the border also. We want the selected cell's borders to be darker (without opacity). https://jsfiddle.net/a2fvxqnt/8/
I've made a custom functionality with Highcharts.wrap, now you can set the custom property in series.marker.states.select called backgroundOpacity which allows you to set the opacity only for the background of the tile. Checkout the demo that I prepared for you using it.