Accepted answer

You can pass in options. While there is no option to directly set the horizontal spacing between grid lines, you can use the below (from

// Creates a line chart in the same way
new Chart(ctx).LineAlt(data, {
     scaleOverride: true,

     scaleSteps: 10,
     scaleStepWidth: 20,
     scaleStartValue: 0,       

Note that you need all 4 settings.

Adjust the scaleStepWidth to control the spacing.

Related Query

More Query from same tag