Skip to content
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

Pie chart highlighter selects wrong sections #2544

Open
nickofthyme opened this issue Oct 8, 2024 · 0 comments
Open

Pie chart highlighter selects wrong sections #2544

nickofthyme opened this issue Oct 8, 2024 · 0 comments
Labels
bug Something isn't working :legend Legend related issue :partition Partition/PieChart/Donut/Sunburst/Treemap chart related

Comments

@nickofthyme
Copy link
Collaborator

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

@nickofthyme nickofthyme added :legend Legend related issue :partition Partition/PieChart/Donut/Sunburst/Treemap chart related bug Something isn't working labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working :legend Legend related issue :partition Partition/PieChart/Donut/Sunburst/Treemap chart related
Projects
None yet
Development

No branches or pull requests

1 participant