-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[XY, Pie] Long legend values support #108365
[XY, Pie] Long legend values support #108365
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
@dej611 this happens because there is another setting in the pie chart, the Truncate text which is by default 100 I think I should group these settings together somehow. Let me think about it |
Ok so first of all @dej611 has found a bug :) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
src/plugins/vis_type_pie/public/editor/components/truncate_labels.tsx
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
@mbondyra I addressed the first two, thanx a lot! On the legend actions popover we get the entire value and we display it as the popover title. Maybe we should truncate it. I will discuss it with Michael and Graham because it also happens in Lens but is still irrelevant with these changes :) |
I think that not truncating on filters is totally fine, but let's see what Graham and Michael say. Rechecking and approving :) |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for addressing the comments. Code LGTM. I tested it Chrome, works fine (the bits we talked about we can address later)
* [XY, Pie] Long legend values support * Update vislib snapshots * Fix truncate labels to work only for slice labels positioned outside the chart * Address PR comments Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [XY, Pie] Long legend values support * Update vislib snapshots * Fix truncate labels to work only for slice labels positioned outside the chart * Address PR comments Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [XY, Pie] Long legend values support * Update vislib snapshots * Fix truncate labels to work only for slice labels positioned outside the chart * Address PR comments Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
* [XY, Pie] Long legend values support * Update vislib snapshots * Fix truncate labels to work only for slice labels positioned outside the chart * Address PR comments Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Summary
Part of #41418
Checklist
Delete any items that are not applicable to this PR.