sachin.b-s
Posts: 14
Joined: Mon Aug 08, 2022 9:03 am

select entire series on clicking on a particular y-axis

how to change gridLineColor on selecting y-axis in Gantt chart. The idea is to highlight the complete row on selecting y-axis.

https://jsfiddle.net/dk1m56qj/7/
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: select entire series on clicking on a particular y-axis

Hi sachin.b-s!
Thanks for contacting us with your question!

Sadly, there is no possibility to select a row of yAxis in Highcharts Gantt, but you can achieve this in some custom way by adding new events to yAxis labels (using the custom-events plugin) and using Highcharts SVG Renderer.

Demo: https://jsfiddle.net/BlackLabel/n0rjohL2/
API Reference: https://api.highcharts.com/class-refere ... derer#rect
http://blacklabel.github.io/custom_events/

Regards!
Hubert Kozik
Highcharts Developer

Return to “Highcharts Gantt”