antvis / antvis/G2Plot

🐛 [BUG]动态绘图- tooltip窗口失效问题

Open
#3,256 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]

> https://antv-g2plot.gitee.io/zh/examples/dynamic-plots/basic#dynamic-spline

当初始值得data=[]时,(很多情况下默认的data都是空列表), 大概率鼠标放在数据点上不能显示tooltip, 其tooltip窗口失效了

### 📷 Step to reproduce

![Snipaste_2022-06-20_14-17-09](https://user-images.githubusercontent.com/44091484/174537232-eb270e38-ef3b-4c04-aafd-ac9e9f6da903.png)

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:2.4.10
* **Platform**:windows

Contributor guide

Open the contributing guide

Research direction

Start with the dynamic-spline example at https://antv-g2plot.gitee.io/zh/examples/dynamic-plots/basic#dynamic-spline and reproduce the issue using an initial data=[] value. Confirm the tooltip behavior when hovering data points, then verify that the tooltip displays reliably in the reported G2Plot 2.4.10 scenario.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.