🐛 [BUG]饼图分页设置的时候,如果当前画框大小小的时候,分页会计算失败
- 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]
https://g2plot.antv.antgroup.com/zh/examples/pie/basic/#basic
这是我拿的官网的演示地址
这是我修改的代码
https://codesandbox.io/s/z5q3pt
当视图缩放比较小的时候就会导致分页计算错误
这个是正常显示

这个是缩放比较的时候显示

> 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**:
### 📷 Step to reproduce
### 🏞 Expected result
### 🚑 Any additional [like screenshots]
* **G2Plot Version**:
* **Platform**:
Contributor guide
Research direction
Start with the linked G2Plot pie basic example and the CodeSandbox reproduction, then compare pagination behavior at normal and reduced view sizes. Done means pagination calculates and displays correctly when the chart view is small.
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
- Needs clarification
- Newbie friendliness
- 30/100