antvis / antvis/G2Plot

🐛 [BUG] 基础柱状图tooltip位置出现错乱

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

在示例中,将鼠标移至 z 轴 39 后面的数据,tooltip 都会出现错乱,柱高亮背景也不对。
https://codesandbox.io/s/vigorous-resonance-1opbmw?file=/index.ts

### 📷 Step to reproduce
显而易见

### 🏞 Expected result
没有错乱

### 🚑 Any additional
image

* **G2Plot Version**: 2.4.25
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Reproduce the basic bar chart from the linked CodeSandbox, starting with index.ts and the behavior after moving over data past z-axis value 39. Trace the tooltip position and highlighted bar background, then confirm that both remain aligned and stable in that range.

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.