Skip to content

[Feature] Add alternative behavior for select on legend #18358

@winkyBrain

Description

@winkyBrain

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:

  1. All items selected
    6oyOW

  2. Yellow item unselected(obviously points must be blurred too). Notice - this is what I suggest. There is no code for reproduce!
    ohVCa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions