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

[Lens] Allow Lens pie chart to order columns based on data #90179

Closed
flash1293 opened this issue Feb 3, 2021 · 2 comments
Closed

[Lens] Allow Lens pie chart to order columns based on data #90179

flash1293 opened this issue Feb 3, 2021 · 2 comments
Labels
enhancement New value added to drive a business result Feature:Lens good first issue low hanging fruit impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@flash1293
Copy link
Contributor

flash1293 commented Feb 3, 2021

Currently Lens pie chart slices are always ordered by its size. In some cases, this can be confusing (e.g. if the user explicitly specified alphabetical ordering for the top values function).

As it's not a common practice to order pie charts any other way than by size, the current behavior should stay the default behavior. To allow the user to override it, there should be a toggle in the dimension editor "Order slices by size" which defaults to on (making the non-standard behavior opt-in for rare cases where it's necessary).

This requires changes on elastic-charts because it's not possible to configure the order of slices from the outside: elastic/elastic-charts#1012

@flash1293 flash1293 added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Feb 3, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@flash1293 flash1293 added the good first issue low hanging fruit label Jun 17, 2021
@timductive timductive added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Aug 23, 2023
@stratoula
Copy link
Contributor

Available in recent versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens good first issue low hanging fruit impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants