antvis / antvis/G2Plot

🐛 [BUG]散点图横坐标为时间时(moment.format("YYYY-MM-DD HH:mm:ss")) 其中HH:mm:ss 会被隐藏掉

Open
#3,223 0 comments 0 reactions 0 assignees View on GitHub
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]
散点图横坐标为时间时(moment.format("YYYY-MM-DD HH:mm:ss")) 其中HH:mm:ss 会被隐藏掉

> 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.
https://codesandbox.io/embed/g2plot-issue-template-forked-iuyj11

* _Required_ **Link to minimal reproduction**:

### 📷 Step to reproduce

### 🏞 Expected result
时间完整显示

### 🚑 Any additional [like screenshots]

* **G2Plot Version**: 任何
* **Platform**:谷歌

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox minimal reproduction and inspect how G2Plot renders labels for a time-based scatter-plot x-axis. Reproduce the missing HH:mm:ss text in Google Chrome, then verify that the complete formatted timestamp is visible without changing the expected date format.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.