Is your feature request related to a problem? Please describe.
Legends label is not sorted in the same order every time, it depends on count
ie:
Visualization Type: Pie Chart
Metric: COUNT_DISTINCT(unitId)
The count of unitId will determin the sort of legends/labels
The sort order will change over time as the unitId count changes.
Not posible to have static order of legends/labels
Describe the solution you'd like
Additional context
Superset version: 0.36.0
Issue-Label Bot is automatically applying the label #enhancement to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
bump
I would also like to have the ability to determine the sorting order of the legends in the chart types that can have legends. This is especially useful when working i.e. with data buckets or categories that express a certain gradation (e.g. "minor damage", "considerable damage", "heavy damage" etc).
It would be nice to have this in a future update. :-)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
Most helpful comment
Issue-Label Bot is automatically applying the label
#enhancementto this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!Links: app homepage, dashboard and code for this bot.