How can I remove the white border from Chart.js pie chart?

Ris picture Ris · Mar 31, 2016 · Viewed 29k times · Source

I am using Chart.js pie chart and I'd like to remove white lines between slices. Could someone tell me way to do this ? Thanks in advance

I didn't see anything in the documenation.

enter image description here

    <div class="pie-chart">
         <div id="canvas-holder">
              <canvas id="chart-area" width="250" height="250"/>
         </div>
    </div>

Answer

grebenyuksv picture grebenyuksv · Sep 1, 2016

In [email protected] (haven't tested for [email protected]):

const options = {
    elements: {
        arc: {
            borderWidth: 0
        }
    }
};