环状图如何在加大间隔的同时不挤占数据空间?🤔 [QUESTION]
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
### 🐛 环状图如何在加大间隔的同时不挤占数据空间?
### 💻 https://codesandbox.io/s/relaxed-elgamal-6hxkg?file=/index.ts
### 🏞 Expected result
const data = [
{ type: '分类一', value: 80 },
{ type: '分类二', value: 40 },
{ type: '分类三', value: 30 },
{ type: '分类四', value: 12 },
{ type: '分类五', value: 1 },
];
在这种数据下,分类五的数据显示就由于边框占据了数据的颜色块而显示不出来,有没有其他的方法?

Contributor guide
Research direction
Start with the linked CodeSandbox's index.ts and reproduce the donut chart using the five data values shown in the issue. Inspect how the chart's spacing and border settings affect the smallest slice. Done means identifying a supported configuration or behavior that increases the visual gap without hiding the smallest data segment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100