antvis / antvis/G2Plot

🐛 [BUG]双轴图单击事件只能获取到一个轴的数据

Open
#3,285 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]
双轴图单击事件只能获取到一个轴的数据
> 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.

* _Required_ **Link to minimal reproduction**:

### 📷 Step to reproduce
1.实现双周图
2.编写双周图单击事件,并输出
3.![image](https://user-images.githubusercontent.com/34097936/179465375-c01f2290-922e-4181-ba4b-67be1b4ea9d1.png)
### 🏞 Expected result
当前元素下的两个轴的数据
### 🚑 Any additional [like screenshots]

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

Contributor guide

Open the contributing guide

Research direction

Create a minimal reproduction of a dual-axis chart and inspect the click-event payload while logging both axes' data. Compare the current payload with the expected data for the clicked element; done means one click exposes data from both axes. No source file, test, version, or platform is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.