Skip to content

Double padding on PieChartWithPaddingAngle when value is 0 #1687

@sthobis

Description

@sthobis

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Currently recharts still adds a padding to sector with 0 value, which causes a double padding/spacing.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

https://jsfiddle.net/gm9rf6t2/

What is the expected behavior?

The padding/spacing between all sector should be the same.

Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?

<= v.1.50

Metadata

Metadata

Labels

bugGeneral bug label

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions