You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "tclwh (via GitHub)" <gi...@apache.org> on 2024/03/27 11:19:27 UTC
[I] Descending order not functioning as expected in Stacked mode in Superset [superset]
tclwh opened a new issue, #27704:
URL: https://github.com/apache/superset/issues/27704
### Bug description
I am encountering an issue in Superset where the descending order functionality does not seem to work as intended when using Stacked mode. Despite selecting descending order, the data in the Stacked chart continues to display in ascending order.
### How to reproduce the bug
Enable Stacked mode in Superset.
Select descending order for the chart.
Observe that the data does not display in descending order as expected.
Expected Behavior:
When choosing descending order in Stacked mode, the data should be displayed in descending order within the Stacked chart.
### Screenshots/recordings
False
<img width="1140" alt="image" src="https://github.com/apache/superset/assets/61767473/1240d423-77c8-4148-b4e6-0643b7f132ea">
TRUE
<img width="1145" alt="image" src="https://github.com/apache/superset/assets/61767473/6fb7f1ac-0565-4475-a73e-b19d3f18ee75">
### Superset version
3.1.1
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
Superset version: 3.1
Browser: chrome
Operating System: Mac OS 12.6.3
Any insights or guidance on resolving this issue would be greatly appreciated. Thank you for your help!
In version 1.5 of Superset, the descending order functionality in Stacked mode worked correctly without any issues.
### Checklist
- [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [X] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Descending order not functioning as expected in Stacked mode in Superset [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #27704:
URL: https://github.com/apache/superset/issues/27704#issuecomment-2822218163
This has been silent for quite some time, and while we're open to additional controls to make the chart more flexible, I'll close this as inactive for now. Still open to discussion here and/or PRs to improve things if warranted.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Descending order not functioning as expected in Stacked mode in Superset [superset]
Posted by "SGITLOGIN (via GitHub)" <gi...@apache.org>.
SGITLOGIN commented on issue #27704:
URL: https://github.com/apache/superset/issues/27704#issuecomment-2024949222
@tclwh
I also encountered the same problem. Have you resolved it on your end?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Descending order not functioning as expected in Stacked mode in Superset [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #27704:
URL: https://github.com/apache/superset/issues/27704#issuecomment-2468892940
If I'm interpreting this correctly (perhaps @villebro can correct me if I'm mistaken), the control sorts the _data_ as part of the query. I.e. you might have a HUGE database, and when you query up to your LIMIT, you would get (essentially) random rows, where as this Sorting control lets you get the highest or lowest results in your database.
If you're looking to sort the bars by height within the chart rendering, there is currently no control to do so. Basically you're looking to Sort the X Axis by the selected Metric. I and many other people wish for this, but (AFAIK) it's not an option right now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Descending order not functioning as expected in Stacked mode in Superset [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #27704: Descending order not functioning as expected in Stacked mode in Superset
URL: https://github.com/apache/superset/issues/27704
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org