chartjs / Chart.js

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

Pie / Donut Charts with Min. Slice Angle #6652

Closed mwskwong closed 4 years ago

mwskwong commented 5 years ago

Feature Proposal

Add an option for Pie and Donut Charts, which defines the minimum slice size / angle for nonzero values. (e.g. minSliceAngle=36 means slices with nonzero value should have at least 36°.)

Feature Use Case

This is very useful when the dataset is contains a category which its value is significantly smaller than that of the others. Without this option, the slice rendered will be too small for users to click/interact.

etimberg commented 4 years ago

Closing as duplicate of #6471

tyg6 commented 5 months ago

series-pie.minAngle