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

[Feature request] Bar chart custom ordering #9998

Closed
bkyryliuk opened this issue Jun 5, 2020 · 6 comments
Closed

[Feature request] Bar chart custom ordering #9998

bkyryliuk opened this issue Jun 5, 2020 · 6 comments
Labels
enhancement:request Enhancement request submitted by anyone from the community .pinned Draws attention viz:charts:bar Related to the Bar chart

Comments

@bkyryliuk
Copy link
Member

Is your feature request related to a problem? Please describe.
Enable custom ordering of the bar chart, e.g. currently only alphabetical ordering exists and that makes it hard to work with ranges:
e.g. 101-200 would be before 51-100

Users would love to see the feature to specify custom ordering of the values.
This could be implemented in a similar way to the table sort_by

Similar request was here as well:
#3380

@bkyryliuk bkyryliuk added the enhancement:request Enhancement request submitted by anyone from the community label Jun 5, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label #enhancement to this issue, with a confidence of 0.99. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@rbk-paul
Copy link

rbk-paul commented Jun 8, 2020

Adding a note here. For some reason, I am not seeing ordering in alphabetical order (as per @bkyryliuk 's observations) in its existing state, but seemingly ordered using the metrics from highest to lowest.
My x-axis is just 5 columns (years 2017 ~ 2021 inclusive)

If ordered alphabetically, I would assume the ordering would still be in chronological order, but currently, it's ordered 2018, 2017, 2019, 2020, 2021 from left-to-right. It just so happens the metrics are from highest-to-lowest in that order.

@rumbin
Copy link
Contributor

rumbin commented Jun 8, 2020

@rbk-paul have you tried the Sort Bars option in the Chart Options of the Customize tab? This should lead to alphabetical ordering.

@rbk-paul
Copy link

rbk-paul commented Jun 8, 2020

@rbk-paul have you tried the Sort Bars option in the Chart Options of the Customize tab? This should lead to alphabetical ordering.

Thanks @rumbin! That worked!

@stale
Copy link

stale bot commented Aug 8, 2020

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.

@stale stale bot added the inactive Inactive for >= 30 days label Aug 8, 2020
@bkyryliuk bkyryliuk added the .pinned Draws attention label Aug 9, 2020
@stale stale bot removed the inactive Inactive for >= 30 days label Aug 9, 2020
@junlincc junlincc added the viz:charts:bar Related to the Bar chart label Mar 31, 2021
@john-bodley
Copy link
Member

@bkyryliuk closing in favor of #13792.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement:request Enhancement request submitted by anyone from the community .pinned Draws attention viz:charts:bar Related to the Bar chart
Projects
None yet
Development

No branches or pull requests

5 participants