Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] sunburst.minAngle makes sectors overlapping #20602

Open
Ovilia opened this issue Dec 19, 2024 · 0 comments
Open

[Bug] sunburst.minAngle makes sectors overlapping #20602

Ovilia opened this issue Dec 19, 2024 · 0 comments
Labels
bug en This issue is in English topic: sunburst
Milestone

Comments

@Ovilia
Copy link
Contributor

Ovilia commented Dec 19, 2024

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 Ovilia added the bug label Dec 19, 2024
@echarts-bot echarts-bot bot added the en This issue is in English label Dec 19, 2024
@Ovilia Ovilia added this to the TBD milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English topic: sunburst
Projects
None yet
Development

No branches or pull requests

1 participant