chartjs / Chart.js

Simple HTML5 Charts using the <canvas> tag
https://www.chartjs.org/
MIT License
64.68k stars 11.92k forks source link

Donut chart slices are invisibly thin if data points are too small #1783

Closed JackAgosthazi closed 8 years ago

JackAgosthazi commented 8 years ago

As you can see on the attached screenshot, if the data points are too small, the donut chart slices will be invisibly thin. On the screenshot, the largest slice's value is 2000 and the slices with the value of 1 or 2 are invisible.

Thanks, Jack

servlet_filedownload__1826x1164_

etimberg commented 8 years ago

In v1 try setting segmentShowStroke to false. In v2 try setting borderWidth to 0 in the dataset.

seanyc4 commented 5 years ago

And in version 3? Neither of those methods are present, nor is there anything that resembles them.

lukaskoeller commented 6 months ago

In v1 try setting segmentShowStroke to false. In v2 try setting borderWidth to 0 in the dataset.

This does not offer a reliable solution to the problem. The slice still can be too small even with no borders applied