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 throw if outerRadius is zero or negative #2272

Closed
3 tasks done
markov00 opened this issue Dec 6, 2023 · 0 comments · Fixed by #2273
Closed
3 tasks done

Pie chart throw if outerRadius is zero or negative #2272

markov00 opened this issue Dec 6, 2023 · 0 comments · Fixed by #2273
Labels
bug Something isn't working :data Data/series/scales related issue kibana cross issue Has a Kibana issue counterpart :partition Partition/PieChart/Donut/Sunburst/Treemap chart related

Comments

@markov00
Copy link
Member

markov00 commented Dec 6, 2023

Describe the issue

When a pie chart with legend is shrinked a lot (down to ~20pixel in height) the Canvas functions throws an error related to rendering a negative arc radius.
This blocks the rendering and nothing but a page refresh can restore the rendering.

Expected behaviour
The chart should not throw and should rerender when the size is back to normal

Errors in browser console
Screenshot 2023-12-06 at 15 23 40

Kibana Cross Issues
elastic/kibana#171408

Checklist

  • The proper chart type label has been added (e.g. :xy, :partition)
  • The proper feature labels have been added (e.g. :interactions, :axis)
  • Every related Kibana issue is listed under Kibana Cross Issues list and the kibana cross issue tag is applied
@markov00 markov00 added bug Something isn't working kibana cross issue Has a Kibana issue counterpart :data Data/series/scales related issue :partition Partition/PieChart/Donut/Sunburst/Treemap chart related labels Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working :data Data/series/scales related issue kibana cross issue Has a Kibana issue counterpart :partition Partition/PieChart/Donut/Sunburst/Treemap chart related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant