Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop HighCharts change transparency of another series on hover of one series

Tags:

highcharts

By default , when i hover on one series , other series get some transparent.

How can i disable this behavior?

this hover: { enabled: false} not working.

like image 355
yantrab Avatar asked Sep 10 '25 14:09

yantrab


1 Answers

You need to change the opacity property for inactive state:

plotOptions: {
    series: {
        states: {
            inactive: {
                opacity: 1
            }
        }
    }
}

Live demo: http://jsfiddle.net/BlackLabel/7fmcp0da/

API Reference: https://api.highcharts.com/highcharts/plotOptions.series.states.inactive.opacity

like image 166
ppotaczek Avatar answered Sep 13 '25 18:09

ppotaczek