[chart] Allow to change sorting of Grouped/Stacked bars #19202
kamalkeshavani-aiinside
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
Any follow up on this issue, has anyone found a good workaround yet? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Please add the sorting function. It is a messy as it look without it |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
In Time-series bar chart, when user creates groups of bars(grouped/stacked), the order of bars in a group/stack is based on the value of metric(descending).
In case of Bar chart, the order is based on 'breakdown' dimension value(ascending).
There is an option of selecting 'Sort by', but that is just to calculate which bars will be part of chart when series limit is applied.
Describe the solution you'd like
Here, user should be able to sort the bars based on the value of 'Group by' dimension(for time-series bar chart) or by metric value(for bar chart).
For example in below chart(sample flights data), user can sort the bars in each group/stack alphabetically(by airline company) to show 'AA' in left most or right most.
In case of bar chart, the sorting of bars is alphabetical(ascending) value of 'breakdown' dimension, it should be possiblle to change this behavior as well.
Describe alternatives you've considered
A more complex feature can be to sort the bars based on some other metric(as already available for series limit).
Beta Was this translation helpful? Give feedback.
All reactions