antvis / antvis/F2

F2折线图xAxis最右边的值被遮挡无法显示全

Open
#1,865 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

- **F2 Version**: 4.0.48
- **Platform**: 微信小程序
- **Mini Showcase(like screenshots)**:
![image](https://github.com/antvis/F2/assets/27007064/6d6d59ed-2b9e-4629-becd-902a6a890cae)

- **CodeSandbox Link**:
https://codesandbox.io/s/f2-reproduction-template-forked-qhtlpf?file=/src/index.js

问题总结:F2折线图xAxis最右边的值被遮挡无法显示全
具体描述:如图所示,x轴最右边的值为2012-01-01 08:00,但是渲染的结果中只显示了“2012-01-01 08”

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue from the CodeSandbox entry point at /src/index.js using F2 4.0.48 on the stated chart configuration. Inspect how the line chart renders the rightmost x-axis label and verify that the complete value, “2012-01-01 08:00”, is visible without clipping.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.