antvis / antvis/G2Plot

桑基图中鼠标划到节点上还是显示路径的信息

Open
#3,380 1 comment 0 reactions 0 assignees View on GitHub
Interaction Question v3
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Question description [Please make everyone to understand it]
鼠标移动到节点上,tooltip的customContent的数据不稳定,有时候是节点数据,有时候是路径数据
![image](https://user-images.githubusercontent.com/72643565/197474638-4936d61b-d076-45e8-a754-2588feb77b95.png)

### 💻 Link to minimal reproduction

https://riddle.alibaba-inc.com/riddles/a1e3e6f

### 🏞 Expected result
鼠标移动到节点上tooltip的customContent的数据能够稳定给出node信息
### 🚑 Any additional [like screenshots]

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

Contributor guide

Open the contributing guide

Research direction

Start with the linked minimal reproduction and observe the Sankey chart while moving over nodes. Inspect the tooltip customContent data for inconsistent node and path values, then verify that node hover consistently produces node information in the reproduction.

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.