antvis / antvis/G2Plot

🥰 [FEATURE]期望事件支持点击 柱状图 蒙版

Open
#2,910 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

G2里可以通过getSnapRecords来找到点击区域,G2plot里貌似没有提供这个api,请问下,如何实现监听 点击 柱状图柱子蒙版
的事件?

Contributor guide

Open the contributing guide

Research direction

Start by comparing G2's getSnapRecords API with the event support exposed by G2Plot for bar charts. Reproduce a bar-mask click and determine the required event behavior; the issue is done when a consumer can listen for the click and identify the clicked bar region.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.