Skip to content

Commit 1e6f6a9

Browse files
authored
Merge pull request #18341 from susiwen8/fix-sunbrust-book
fix: `sunbrust` label abnormal
2 parents 33b4b87 + 5b74a22 commit 1e6f6a9

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)