I'm building a stacked bar chart in
CodePudding user response:
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
}
}
}
}