Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixed Chart - enable X-AXIS SORT BY #32412

Open
3 tasks done
jpdeloitte opened this issue Feb 27, 2025 · 2 comments
Open
3 tasks done

Mixed Chart - enable X-AXIS SORT BY #32412

jpdeloitte opened this issue Feb 27, 2025 · 2 comments
Labels
viz:charts:echarts Related to Echarts

Comments

@jpdeloitte
Copy link

Bug description

Currently you are unable to sort the X-Axis of a mixed chart based on a metric value (from either Query A or Query B). The chart is sorted alphabetically by the X-Axis dimension value. Other echarts (e.g. Bar Chart) have this capability built in already, and this needs to be added to the Mixed Chart.

Screenshots/recordings

Bar Chart

bar chart

Mixed Chart

mixed chart

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
@dosubot dosubot bot added the viz:charts:echarts Related to Echarts label Feb 27, 2025
@rusackas
Copy link
Member

We'd most certainly welcome a PR adding this functionality if you (or anyone reading this) are so inclined! Meanwhile I'll convert this to an "Ideas" discussion, since it's more feature request than bug.

@apache apache locked and limited conversation to collaborators Feb 28, 2025
@rusackas rusackas converted this issue into a discussion Feb 28, 2025
@rusackas rusackas reopened this Feb 28, 2025
@rusackas
Copy link
Member

Well... it seems "convert to issue" is busted on GitHub at the moment. Perhaps another day!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
viz:charts:echarts Related to Echarts
Projects
None yet
Development

No branches or pull requests

2 participants