Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Heatmap is faded when hovering over color axis legend (styled version) #7406
When using the styled highcharts library to show a heatmap chart, hovering over the color axis fades the heatmap data points. This does not happen with the classic library.
Hovering over the color axis does not fade the heatmap points.
Hovering over the color axis fades the heatmap points.
Live demo with steps to reproduce
I assume the "hovered" legend item is to be highlighted. For that the class .highcharts-legend-series-active is set. In a multi line chart, the series gets marked with .highcharts-series-hover, which prevents the fade for that series. (See the rule in highcharts.scss.) In a heatmap the -hover class does not seem to be set.
Thank you for reporting this issue. You are right, it looks like
I think we can overwrite the rule responsible for this issue for one particular chart:
This way we won't change behaviour for other charts. Other option is to use bugged classes and remove events: http://jsfiddle.net/p87v7or8/2/