antvis / antvis/G2Plot

🐛 [BUG] 折线图在不设置 point 的时候点击事件无效?

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

折线图在不设置 point 的时候点击事件无效?

### 📷 Step to reproduce

https://stackblitz.com/edit/stackblitz-starters-flwafw?file=src%2FLineChart.tsx

### 🏞 Expected result

可以触发点击事件

### 🚑 Any additional [like screenshots]

* **G2Plot Version**: 2.4.31
* **Platform**: chrome

Contributor guide

Open the contributing guide

Research direction

Start with the linked StackBlitz reproduction, especially src/LineChart.tsx, and compare the line chart's click behavior when point is omitted versus configured. Confirm the fix by verifying that the click event triggers without point settings in the reproduced 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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.