[Chartjs]-Increase the gap between y-axis and first x-axis value chart.js

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'
  }
}],

Leave a comment