-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Not natural legend order for stacked bar chart #4161
Comments
Using the legend: {
position: 'right',
reverse: true
} @etimberg we could also add a |
@simonbrunel good idea on the sort function. I'm happy to look at a PR from someone implementing this. |
That sounds great. |
Maybe have stacked: true be stacked: 'normal' or stacked: 'reverse' this seems to be not working, any other way to resolve this |
If following conditions are met:
then the default legend order doesn't correspond with the order of stacked parts:
https://jsfiddle.net/yjp7LxgL/1/
It makes reading chart data harder.
The text was updated successfully, but these errors were encountered: