Skip to content

Pie chart highlighter selects wrong sections #2544

Open

Description

Describe the issue

When using a pie chart where the first layer has are multiple series but only one has data, then another layer that has some values. When you hover the legend item for any series, the entire pie chart is highlighted.

To Reproduce

  1. Go to kibana
  2. Create a vis that looks like something below
  3. Hover the legend items
  4. Notice hovering any item show a highlight over all the second layer sectors

Image

Expected behaviour
If a layer is not present, no highlight should be shown.

Additional details

If looking at a nested legend, you can see the values from the second layer behave correct, not showing any highlighter. But for the top legend value they highlight the second layer pie sectors.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    :legendLegend related issue:partitionPartition/PieChart/Donut/Sunburst/Treemap chart relatedbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions