Pie slices with zero size cause additional padding
See original GitHub issueDescribe/explain the bug
Pie slices with zero size cause “gaps” to appear when padAngle
is greater than 0.
To Reproduce https://codesandbox.io/s/nivo-pie-slice-zero-padding-issue-bw1ik?file=/src/App.js
Steps to reproduce the behavior:
- Include data with zero value.
- Set
padAngle
higher than 0. Padding glitch becomes more apparent with more items with zero value.
Expected behavior
Ideally, a pie slice with zero value would not cause padding to generate. On static charts this can be avoided by removing zero-value items, but on dynamic charts where legends ideally shouldn’t have items removed, sometimes zero-value slices will exist.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
How do I reduce the padding around a FusionCharts pie chart?
Placing values inside the pie slices are not supported. Though you can force it by negative value in labelDistance attribute. But remember, if ......
Read more >PieChart with too many slices – amCharts 4 Documentation
We'll look at them each one-by-one. Reduce label padding#. This will allow labels to be packed closer together, so more of them fit...
Read more >Calculating distance of slice tip from pie center for correct slice ...
Now it gets complicated when I want to add fixed spacing between slices. There are two situations here: Pie chart has a hole...
Read more >How to add space to pie chart slices - Highcharts
Yes, it's suppose to look like that and with space/padding in ... can also try setting this from the size value for pie.states.hover.halo:...
Read more >JavaScript Charts: Pie and Doughnut Series - AG Grid
In the example above there's no legend or labels next to pie slices. ... is determined automatically by the chart depending on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
have that problem too, any solutions?