Skip to content

[Bug] Emphasis should be disabled for unselected items #18348

@andbjer

Description

@andbjer

Version

5.4.1

Link to Minimal Reproduction

https://codesandbox.io/s/stacked-horizontal-bar-forked-rvgk66?file=/index.html

Steps to Reproduce

  1. Series are configured with emphasis
  2. Deselect an item by clicking on it in the legend.
  3. Item remains highlighted even though it is not displayed in the chart anymore.

Current Behavior

Items that are deselected and not displayed in the plot are still highlighted if the series was configured with emphasis

Expected Behavior

I would expect no highlighting when hovering over deselected items in the legend.

Environment

- OS: macOS Ventura 13.2.1
- Browser: Chrome 110.0.5481.177
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe 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