-
Notifications
You must be signed in to change notification settings - Fork 12k
Fix stacked combo bar charts & add test #1877
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
Conversation
Fix stacked combo bar charts & add test
@etimberg thank you. when does Chart.js get updated in v2.0-dev branch? |
@cdwilhelm I just pushed up copies of the built files |
@etimberg thank you, that indeed solve the problem I reported. Thank you for the quick turn around. |
@cdwilhelm can you create a JSfiddle or post your config? |
@cdwilhelm the X axis is still marked as stacked. Setting it to false is what you'd want. |
@etimberg yes, that is true. I'm looking to have x-axes stacked, but not the y-axes. my use case will have many bar datasets and it will be better represented as a stacked bar then individual bars. When the x-axes has stacked: true, the bars are not represented as described in the datasets. for example Jan should should show 1 from each dataset (red and green bar) the others are not shown correctly either, each are missing data or not correctly calculated. |
@cdwilhelm Ah, ok. I see what you're looking for. When only the x axis is stacked, the bars draw on top of each other which is why you only see one. When the y axis is stacked, the bars display correctly but then the lines also stack. I can think of a couple of work-arounds, but none seem ideal. Can you please file a separate issue for this? |
@etimberg I sure will, thanks for the evaluation and all the help. |
Fixes #1862