1👍
Yes, you can easily do this in chart.js, its called stacking. You just need to set the stacked
option to true.
scales: {
xAxes: [{
stacked: true
}]
}
Note, you might have to set the yAxes
option instead since this is horizontal. You can read more about it here and see a sample here. I will update my answer with a working codepen example when I get back to a computer.
- Chartjs-How do I render PyChart.JS charts in web2py?
- Chartjs-Is it possible to add a javascript chart in a webview in Xamari.Forms
Source:stackexchange.com