Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/chart/pie/pieLayout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default function pieLayout(

// Some sector is constrained by minAngle and padAngle
// Rest sectors needs recalculate angle
if (restAngle < PI2 && validDataCount) {
if (restAngle < angleRange && validDataCount) {
// Average the angle if rest angle is not enough after all angles is
// Constrained by minAngle and padAngle
if (restAngle <= 1e-3) {
Expand Down
Loading