1π
β
Itβs mentioned at the Styling section in the docs and itβs called lineWidth.
This related question might also be helpful: Chart.js how to use scriptable options
options {
scales: {
y: {
grid: {
lineWidth: ({ tick }) => tick.value == 0 ? 10 : 1
}
}
}
}
Source:stackexchange.com