🐛 [BUG] 多个图表渲染 label 不显示
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
### 🐛 Bug description [Please make everyone to understand it]
> Please provide a link by forking these links [G2Plot](https://codesandbox.io/s/g2plot-issue-template-gzfdq?file=/index.ts) or GitHub repo, a minimal reproduction.
* _Required_ **Link to minimal reproduction**:
https://codesandbox.io/s/crazy-sid-46nmm3?file=/index.ts
### 📷 Step to reproduce
### 🏞 Expected result
### 🚑 Any additional [like screenshots]

* **G2Plot Version**: 2.4.17
* **Platform**: mac os 12.2.1
测试发现是配置了 layout: [{ type: "hide-overlap" }],去掉 label 就全部显示了
Contributor guide
Research direction
Start with the linked CodeSandbox reproduction and inspect the chart configuration containing layout: [{ type: "hide-overlap" }]. Reproduce the behavior in G2Plot 2.4.17, comparing label rendering with and without that layout. Done means labels render correctly for multiple charts while the hide-overlap configuration is present.
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