apache / apache/echarts

[Bug] pie chart, when setting border. Gap display bug

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

Description

### Version

5.4.3

### Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=pie-borderRadius&code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMmuhgE4QDmFApqYQOQRjUC29xAvgDTHbU3QAJoVQkMoBgFYApPR5i-AMzAMAxtWjNS7dN2IBnWhGr7CAbWLpRY2KuzBVAawDuEQ4TCkArtXk3oAIYs1AwAgqrq-vqwAGKkwGx-YmAAniAhsPQgxnKWJKQBghBeprBm9AAsAAyyXJkA7DX0ALpJJAEAbsAQggAyAQBG1NgA8h202AEEsIoB2IZt6EysAMqpfCJ5YgPApIK0AEqFxaUAjFWLJDt7tADCOLsMAMSKr7k2V7v7pADqPWAAC0IACYtrA9B9JkNsJsPuh9ADgM5CLN5r4wegQMB9EwoNA1BotDobBCbKwQACAjjStZIYNhrC4fDEciyD5LmJFDAwCsIAAvDLVDkkLmaH7USgAlSZHbYQTEj4cMGkhT07C9CDQDK0mwIpEebzUZWXQQBMABcwY5CwDpzHyEC6wQLBNT0cHCpA2u0ZR3OjL0AZulU2T227D22CnOp-hgBINg5p5JXoRMcADcQA

### Steps to Reproduce

Official example: rounded donut chart
If the data is
data: [
{ value: 1, name: 'a' },
{ value: 0, name: 'b' },
{ value: 0, name: 'c' },
]], the border will be displayed normally.
If the data is data: [
{ value: 0, name: 'c' },
{ value: 0, name: 'b' },
{ value: 1, name: 'a' },
], the border disappears

### Current Behavior

as shown above

### Expected Behavior

I hope the border will be displayed normally.

### 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.