apache / apache/echarts

[Bug] When pie.minAngle is within the normal range but the set value is relatively large, the size of the sector angle does not match the actual value corresponding to each sector, and there is a problem with the sector enlargement effect when hovering over the sector

Open
#20,621 2 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.5.1

### Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcya6GOAHmAQOQBKOAZjgE5OzB2wCGsA6jgEYBnCGByUANEXQCArnxHkqAMQ4BrHLAAiHMB3GTYuOhViUAxjmgjGlIgF8J6MMGBZIIAqmIZGEAOa-mKmEcAFsbdHsiXADoABMPfWAfC2NKADcmSFMOLD0vQ1SC8NhIqSYIHAECAG19Ty9YaA4Q_BMAQVNzAQFYRUZgMIcGsABPEFbKEAq8hsYOWIhpKpMAVgAGAFIZr1jtDhr9LyRYNJzpVoA2MUbmiYBlHA5GUwALWABRaF8IaFESoYayBOZ1aK2uTRaVA0EGYpjAlH-h2Ix1OWHOBAAjGtwbcqO8QhwILlEYD0CiQZiwTdISYAKrQKBwNqxAQI0qk8lo1rY6kTABqEFiOGAsGZrJKSIAugDiKEQC8OEJlvVAcEQndRrgEqTiAIFbFgAB3ABCaMYmOxSK8evmRoA8nQ6AIcGAABoES06qT6o0AYRcSSojF8fA4AAoeZHrmsAHQrACUxUBtiR7K8IR-bS-WtgWLW-hT6ElKFsAG4gA

### Steps to Reproduce

1. Set a relatively large pie.minAngle.
2. The values corresponding to each sector should not be similar.
3. Check the angles of all sector and the corresponding values of each sector area.
4. Hover all sector and observe the angle change after hovering

### Current Behavior

1. The correspondence between the size of the angle of the sector and the corresponding classification value of the sector is confusing.
2. When hovering over the ‘Search Engine’ , the angle of the sector increases.

### Expected Behavior

1. The size of the sector angle corresponds to the size of the value.
2. When hovering over any sector, only the sector will be magnified without changing the angle of the sector area.

If this is not a bug, unless the user is particularly familiar with the pie.minAngle function, it will be difficult to visually see the proportion of each category, which will affect the user experience

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.