Skip to content

Commit 5b74a22

Browse files
committed
fix: sunbrust label abnormal
1 parent 33b4b87 commit 5b74a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chart/sunburst/SunburstPiece.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ class SunburstPiece extends graphic.Sector {
253253
let rotate = 0;
254254
if (rotateType === 'radial') {
255255
rotate = normalizeRadian(-midAngle);
256-
if (((rotate > Math.PI / 2 && rotate <= Math.PI * 1.5))) {
256+
if (((rotate > Math.PI / 2 && rotate < Math.PI * 1.5))) {
257257
rotate += Math.PI;
258258
}
259259
}

0 commit comments

Comments
 (0)