[Lens] Allow Lens pie chart to order columns based on data #90179
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
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
The text was updated successfully, but these errors were encountered: