reactjs / react-chartjs

common react charting components using chart.js
MIT License
2.93k stars 301 forks source link

Stacked bar chart #119

Closed timzekid closed 8 years ago

timzekid commented 8 years ago

Hello. I was wondering how can I build a staked bar chart, so there would be no gaps between bars. I'm trying to use "stacked" property, but obviously I'm doing something wrong. Here is a concerning part of my code: https://jsfiddle.net/7ehf5ynh/

That's what I get out of this: screenshot from 2016-06-11 17 35 02

And here is an approximate example of what I want to get: fruit_h600