-
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
[TSVB] Adds a color picker in percentiles and percentiles rank aggs #107390
[TSVB] Adds a color picker in percentiles and percentiles rank aggs #107390
Conversation
@elasticmachine merge upstream |
Pinging @elastic/kibana-app (Team:KibanaApp) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
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.
Overall looks good! Tested and couldn't find anything breaking. I left two nit comments and I am wondering if maybe it requires one or two more tests but that's up to you. LGTM 🆗
...s/vis_type_timeseries/public/application/components/aggs/percentile_rank/multi_value_row.tsx
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
…lastic#107390) * WIP - Improve the way that percentiles are rendered in TSVB * Adds color picker to percentile and percentile ranks * initialize color * Be backwards compatible * Fixes unit tests * Add a unit test for percentile rank * Fix unit tests * Address PR comments Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…107390) (#108357) * WIP - Improve the way that percentiles are rendered in TSVB * Adds color picker to percentile and percentile ranks * initialize color * Be backwards compatible * Fixes unit tests * Add a unit test for percentile rank * Fix unit tests * Address PR comments Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
Closes #102325
It adds the color picker on percentiles and percentiles_rank aggregations to give the users the ability to change the percentiles series color. This will make the percentiles created to be more readable.
The color picker is visible only for timeseries, gauge and topN charts and only when the series is grouped by
everything
.If it is grouped by terms or filters it follows its color rules.
I also moved the percent in the front of the legend in order to be more easy to distinguish it as usually the legends for these aggregations are quite long. This will be improved when this will be merged and applied to kibana.
Checklist