柱状图,X轴设置了字体后,自适应padding右侧会留有空隙
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
* **G2Plot Version**: latest
* **Platform**: Mac, Google
* **Mini Showcase(like screenshots)**:
没有空隙:

有空隙:

* **CodePen Link**:
https://codepen.io/yangguansen/pen/KKNPoVr
柱状图,X轴设置了字体后,自适应浏览器宽度时,某些宽度下,右侧会留有空隙
Contributor guide
Research direction
Start by opening the linked CodePen reproduction and comparing the two screenshots at different browser widths. Trace how the bar chart calculates responsive padding when an X-axis font is configured. Done means the right-side gap no longer appears at the affected widths while the chart remains correctly padded.
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
- 35/100