8๐
โ
I needed to accomplish the same thing, and I was able to get the desired result bby adding offset: true
to the xAxes
options.
xAxes: [{
offset: true, // <-- This right here
display: true,
scaleLabel: {
display: true,
labelString: 'Time Frame'
}
}],
Source:stackexchange.com