yantrab
yantrab

Reputation: 2662

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

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.

Upvotes: 4

Views: 2221

Answers (1)

ppotaczek
ppotaczek

Reputation: 39099

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

Upvotes: 6

Related Questions