[Chartjs]-How can I remove the white border from Chart.js V2.6.0 pie chart?

1👍

We can’t totally remove the white line between the slice, but we reduce to by using borderWidth property. Here is a working link to codepen"borderWidth":"0" and reference to
dataset properties available in chart.js

1👍

The border can be removed using the following configuration options:

var options = {
  elements: {
    arc: {
      borderWidth: 0, // <-- Set this to zero
      borderColor:'#333'
    }
}

};

A full example in fiddle:
https://jsfiddle.net/vy7npk0j/2/

Leave a comment