-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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][Lens] Allow the labels to be displayed only outside the chart #111673
Comments
Pinging @elastic/kibana-vis-editors (Team:VisEditors) |
Just to clarify, the labels with leader lines are an option intended for single layer pie charts, and not for multi-layer sunburst diagrams |
Maybe it can be fixed as a bug |
Using labels around a pie is not recommended for a few reasons:
We were opinionated when we didn't include this option in the implementation via elastic-charts and would like to keep this option out of Kibana for these reasons at this time... However, as long as we support donuts it does make sense to have this option for that vis type--especially if we ever include additional donut controls around the "hole" size. Also there may be preferences by our users that they can express on this issue!! As an aside, a treemap can be a much better display of proportion-to-whole data like this over both donut and pie. we do have plans to add #104223 and #107059 as well as alternatives to pie in the future too. |
I wonder if we want to implement this enhancement as it seems is not a good practice. Maybe we should close this, wdyt @markov00 ? |
This has various implications and complexity on how to handle outer labels.
This requires a good investment in time and effort to handle, I think we should probably spend that time on handling labeling on chart alternatives (like single stacked bar chart) that simplify the label positioning, and reduce the screen-space waste |
Thank you for contributing to this issue, however, we are closing this issue due to inactivity as part of a backlog grooming effort. If you believe this feature/bug should still be considered, please reopen with a comment. |
Describe the feature:
Currently both Lens and the agg-based pie allow the users to display the labels either inside the bar or inside/outside.
The second one automatically positions the labels outside if they don't fit inside the slice.
We would like to give a third option to only display the labels outside. Elastic-charts offers this https://elastic.github.io/elastic-charts/?path=/story/sunburst--linked-labels-only&globals=theme:light
The text was updated successfully, but these errors were encountered: