Skip to content

[Bug] sunburst.minAngle makes sectors overlapping #20602

Open

Description

@Ovilia

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

Activity

  1. added
    en
    on Dec 19, 2024
  2. added this to the TBD milestone on Dec 19, 2024
  3. added a commit that references this issue on Aug 30, 2026
    64adef7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugentopic: sunburst

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions