Chart.js move start position of chart from axis

๐Ÿ‘:0

add an empty string to your labels object and duplicate the first value so it looks like it will start a bit later since it has an empty label.

old:
labels: ['1', '2' ...], data: [0, 4]

new:
labels: ['', '1', '2'], data: [0,0,4]

Leave a comment