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.
<div class="pie-chart"> <div id="canvas-holder"> <canvas id="chart-area" width="250" height="250"/> </div> </div>
In general, CTRL- or right-click on the element (e.g., Chart Area, Plot Area, Legend, Title, Axis Title, Data Labels, or Text Box) and choose Format <element>. In the dialog that opens, set the Border to No Line.
In [email protected] (haven't tested for [email protected]):
const options = { elements: { arc: { borderWidth: 0 } } };
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With