Hi eraka!
Select and
unselect events are available on
point object. I see, that you are taking the clicked point from event, so I assume, you are using
events from the
series object which is not correct. Also, you should enable
allowPointSelect property to make this feature work. Furthermore, I think it will be better to use
select event, instead of
click, which will be called also on
unclick event. I have prepared a simple demo for your - please check it below. Also, I recommend reading some docs - links below.
Demo: https://jsfiddle.net/BlackLabel/w8bdyevn/
API Reference: https://api.highcharts.com/gantt/series ... nts.select
https://api.highcharts.com/gantt/series ... s.unselect
https://api.highcharts.com/gantt/plotOp ... ointSelect
Feel free to ask any further questions!
Kind regards!