loic.dekester
Posts: 3
Joined: Thu Jun 30, 2022 10:45 pm

Sankey Chart: Changing opacity of nodes on click event

Hi,

I wanted to know if it is possible on a sankey chart to change the opacity of certain nodes on a click event?

Regards,
Loic
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: Sankey Chart: Changing opacity of nodes on click event

Hello Loic!

To change the opacity of points you can use a point.update method. In the Sankey chart, you should call this method on nodes. Please, take a look a the demo below to see the example.

Demo: https://jsfiddle.net/BlackLabel/619hovL8/
API Reference: https://api.highcharts.com/class-refere ... int#update

Feel free to ask any further questions.
Kind regards!
Hubert Kozik
Highcharts Developer

Return to “Highcharts Usage”