Sort label option for GENERIC_CHART_AXES #20885
Replies: 5 comments 5 replies
-
Essentially the same functionality described in the first post here, where a metric like a CASE WHEN could control sort order. But applied to the Bar Chart v2 with GENERIC_CHART_AXES flag enabled. |
Beta Was this translation helpful? Give feedback.
-
FYI @kamalkeshavani-aiinside @sfirke, this PR adds the option to sort the base axis labels by a sort metric: #23274 |
Beta Was this translation helpful? Give feedback.
-
Slightly related, this PR proposes changing the default sort order of the ECharts charts to equal the legacy NVD3 charts and adds the option to configure the order: #23392 |
Beta Was this translation helpful? Give feedback.
-
This is really needed 😢 found a workaround on stackoverflow https://stackoverflow.com/questions/73279908/how-to-customize-the-order-of-bars-in-a-superset-chart that case when should help until we have this on... Not the same thing obviously but might be useful for someone reading this thread |
Beta Was this translation helpful? Give feedback.
-
need this |
Beta Was this translation helpful? Give feedback.
-
Legacy Bar chart sorted the bars by their value, and had an option to sort them by X-axis labels.
With new 'GENERIC_CHART_AXES' flag, we can use labels on echarts X-axis, but they are always sorted in descending order by label.
We need more sorting options:
Beta Was this translation helpful? Give feedback.
All reactions