Chartjs-How can I remove the left spacing between the data and the hidden ticks on the y axis

0👍

I think you could set the align option to the ticks on X axis.

x: {
 ticks: {
   align: 'inner'
 }
},

See doc: https://www.chartjs.org/docs/latest/axes/cartesian/linear.html#common-tick-options-to-all-cartesian-axes

Leave a comment