-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dim other series when hovering #9899
Comments
In styled mode it is already implemented, purely by CSS and the ScopeIn non-styled mode, this feature should be available for whatever item is represented in the legend. So for pies and such, which have ImplementationWe need an option on the state, for example Then, add logic to the setState: function (state) {
// Make this data stand out by setting the opacity of the others
this.series.points.forEach(function (otherPoint) {
if (otherPoint !== this) {
otherPoint.graphic.animate(
{ opacity: state === 'hover' ? 0.1 : 1 },
this.series.options.states[state || 'normal'].animation
);
}
}, this);
}, |
After discussion, we landed on introducing a new series state |
For accessibility and usability purposes it would be great to have an option to dim/fade other series when a series is hovered. This could also be reflected when hovering over the series' legend item.
The text was updated successfully, but these errors were encountered: