antvis / antvis/G2Plot

🐛 [BUG]g2plot 图表提示框返回值问题,当添加一个非必须字段,类型为时间格式时,提示框里的返回值就会被截取

Open
#2,915 1 comment 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]

![image](https://user-images.githubusercontent.com/26690191/137076446-b78a32da-fff3-462d-8146-1aa2399f0310.png)

复现:https://codesandbox.io/s/pbp0j?file=/index.ts

* **G2Plot Version**: g2plot 2.x
* **Platform**: 2.3.36

Contributor guide

Open the contributing guide

Research direction

Start by running the linked CodeSandbox reproduction in index.ts and compare the tooltip output when the optional time-formatted field is present. Trace the TypeScript tooltip handling responsible for the returned value; done means the tooltip preserves the complete value instead of truncating it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
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.