You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/02/22 07:56:35 UTC

[GitHub] [superset] kamalkeshavani-aiinside opened a new issue #13269: [chart] Allow to change sorting of Grouped/Stacked bars

kamalkeshavani-aiinside opened a new issue #13269:
URL: https://github.com/apache/superset/issues/13269


   **Is your feature request related to a problem? Please describe.**
   In Time-series bar chart, when user creates groups of bars(grouped/stacked), the order of bars in a group/stack is based on the value of metric(descending).
   In case of Bar chart, the order is based on 'breakdown' dimension value(ascending).
   There is an option of selecting 'Sort by', but that is just to calculate which bars will be part of chart when series limit is applied.
   
   **Describe the solution you'd like**
   Here, user should be able to sort the bars based on the value of 'Group by' dimension(for time-series bar chart) or by metric value(for bar chart).
   For example in below chart(sample flights data), user can sort the bars in each group/stack alphabetically(by airline company) to show 'AA' in left most or right most.
   ![image](https://user-images.githubusercontent.com/74634977/108677384-ef602b00-752c-11eb-8bdf-a3deaf6ad7c0.png)
   ![image](https://user-images.githubusercontent.com/74634977/108677672-57af0c80-752d-11eb-9a74-fd655df63816.png)
   
   In case of bar chart, the sorting of bars is alphabetical(ascending) value of 'breakdown' dimension, it should be allowed to change this behavior as well.
   ![image](https://user-images.githubusercontent.com/74634977/108678379-5df1b880-752e-11eb-83bc-9a81859873a0.png)
   
   **Describe alternatives you've considered**
   A more complex feature can be to sort the bars based on some other metric(as already available for series limit).
   
   


----------------------------------------------------------------
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.

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


[GitHub] [superset] Deckel commented on issue #13269: [chart] Allow to change sorting of Grouped/Stacked bars

Posted by GitBox <gi...@apache.org>.
Deckel commented on issue #13269:
URL: https://github.com/apache/superset/issues/13269#issuecomment-1066774606


   Any follow up on this issue, has anyone found a good workaround yet?


-- 
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