score:0

Accepted answer

i should rtfm.

the solution is on the chartjs website here :

https://www.chartjs.org/docs/latest/configuration/elements.html

this fixed it :

chart.defaults.global.elements.arc.borderwidth = 1;

score:1

set the border width to your desired size

var mydoughnutchart = new chart(ctx, {
    type: 'doughnut',
    data: data,
    options: options,
    borderwidth: 5 /* change this */
});

Related Query

More Query from same tag