-
Notifications
You must be signed in to change notification settings - Fork 19.8k
[Feature] Add alternative behavior for select on legend #18358
Copy link
Copy link
Closed as not planned
Labels
enThis issue is in EnglishThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Description
What problem does this feature solve?
Now, when we select an item on legend, data of unselected chart element just fade out. How about alternative behavior, when unselected chart element just blurring, but still exists in the chart.
For example:
-
Yellow item unselected(obviously points must be blurred too). Notice - this is what I suggest. There is no code for reproduce!

What does the proposed API look like?
legend.clearInactiveItem: boolean;
Default value is true, so true is current behavior.
legend.inactiveItemStyle: {
color?: someColor; // if you do not change the color, then the current color is used
opacity: number, form 0 to 1. default value is 0.5;
}
inactiveItemStyle working only if clearInactiveItem is false.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enThis issue is in EnglishThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
