[Chartjs]-Chart.js Multiple barchart in time scale won't display all

3👍

I’ve faced the same problem and fixed it by adding offset: true option to scales.xAxes

Here is your code with one new option https://codepen.io/anon/pen/yQqrVz?editors=0010 – now all bars are visible.

And here is my example https://jsfiddle.net/0bnmc4eg/3/

I found the solution in this conversation https://github.com/chartjs/Chart.js/pull/4545

Leave a comment