🐛 [BUG] labels are partially obscured when the values approach the maximum of the y-axis on the chart
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
### labels are partially obscured when the values approach the maximum of the y-axis on the chart
> [minimal reproduction.](https://codesandbox.io/s/trusting-thunder-8fh374)
### 📷 Step to reproduce
### 🏞 Expected result
### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
"@ant-design/charts": "^1.4.2",
"@ant-design/plots": "^1.2.5",
"@antv/g2plot": "^2.4.31",
* **Platform**:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Contributor guide
Research direction
Start with the minimal reproduction in the linked CodeSandbox and inspect how chart labels render when values approach the maximum y-axis value. Reproduce the clipping in the listed G2Plot or Ant Design Charts versions, then verify that labels remain fully visible near the axis maximum without regressing normal chart rendering.
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