echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] sunburst.minAngle makes sectors overlapping

Open Ovilia opened this issue 1 year ago • 0 comments

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=sunburst-simple&code=G4QwTgBAJiAuIQLwQNoCgIQN4cxAdiALYCmAXBAOQiUA0umoANgK7kQAsAbLgL72YceAsXaUARnQYRmbChw59aQvIVIVKAYynDZ7LgFYlKzGrFQdePRQCMx6WY0lLjEK3YGAHPeGOqAMxcZNzkIAAYlNABdAG40AHsAB1gAS3j8JGxcAGcSMBSSbIoTCFgAT0SxbJZ8cRYwbNggmHgKFpABPDAQKBSWItQw2ioATjCAUkoozswmEHESJmLpTDB4-Fh2IZWIf3iwIjhNsA0scV5izV4gzD38WABlFIAvdgAmRWF-aSIU_ABBfAAcyY7AAzBFMLw0LwYkA

Steps to Reproduce

Check the above demo, and hover on "c", you can see that it's overlapped with "d".

Current Behavior

Sectors may overlap when setting minAngle.

Expected Behavior

Sector angles should be adjusted when some sectors are smaller than minAngle. The currect implementation only set angle to be minAngle when it's smaller but not adjust other sectors' angle. But since minAngle's document is missing, probably no one is using this option unless have read the source code.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Ovilia avatar Dec 19 '24 08:12 Ovilia