2
In your options, you can set the lineWidth
option:
options: {
scales: {
xAxes: [{
gridLines: { lineWidth: 50 },
}]
}
}
And the corresponding docs
1
for x-axis to be more thicker we set in yAxes gridLines this line
zeroLineWidth:2
for y-axis to be more thicker we set in xAxes gridlines this line
zeroLineWidth:2
documentation:
yAxes: [{
gridLines: {
zeroLineWidth:2
}
}],
xAxes: [{
gridLines: {
zeroLineWidth:2
}
}]
Source:stackexchange.com