2👍
✅
You can define xAxes.offset: true
and it should work as expected.
xAxes: [
{
offset: true,
...
}
]
offset
: Iftrue
, extra space is added to both edges and the axis is scaled to fit into the chart area.
Please take a look at your amended StackBlitz.
Source:stackexchange.com