-
Notifications
You must be signed in to change notification settings - Fork 272
feat(legacy-preset-chart-nvd3): subject NVD3 Bar chart sort by #947
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/superset/superset-ui/bgrxi26ef |
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.
I think we should default to no ordering, and only opt-in to sorting, both ascending and descending. Perhaps have a "sort bars" control and another "sort descending" one?
Does this re-order bars as well? I'm worried there may be confusion if it doesn't. |
@ktmud Actually the sort is working with a row limit, for example, you have a limit of 50, and sort descendent can be different values |
Yes, I understand how it works, but users might expect it to sort the x-axis. How about we change "Sort by" to "Sort rows by"? cc @junlincc |
in this case, I agree we should leave it to "no default" since it ties to row limit.
I see your point @ktmud Introducing a new label to one specific chart may create design debt.
I know changing back & forth can be tough, thanks for putting up with us😆! @maloun96 |
* feat(legacy-preset-chart-nvd3): subject WIP * feat(legacy-preset-chart-nvd3): subject Add sort by for bar chart
Add control for sort by "asc" or "desc"
Associated with: apache/superset#13049
AFTER
DEV.Vaccine.Ca.mp4