-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed as not planned
Closed as not planned
Copy link
Labels
enThis issue is in EnglishThis issue is in EnglishstaleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.supportwaiting-for: author
Description
Version
5.2.2
Link to minimal reproduction
No response
Steps To Reproduce
When drawing stacked bar graph in echarts it is not possible to sort the axis based on total value (length of stacked bar). The data set is already sorted according the total value before given to echart options. This works when it is not stacked (with single series) but once stacked the sorting is not proper. How can the bars be sorted for the total value based on the length of total of stacked bar?
chart json attached.
Current Behavior
Stacked bars are sorted incorrectly.
Expected Behavior
The bars should be sorted with the highest to the lowest based on the total of the stack.
Once the legend is clicked and some values are hidden, still the sorting should be applicable.
Environment
- OS:
- Browser:
- Framework:Any additional comments?
Any configurations/options in echarts that can be done to achieve this would be helpful.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enThis issue is in EnglishThis issue is in EnglishstaleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.supportwaiting-for: author
