antvis / antvis/G2

[Question] G2 滚动缩小放大 & 标记尺

Open
#5,437 2 comments 0 reactions 0 assignees View on GitHub
v5
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

# Q1
G2中如何实现 鼠标滚动缩小和放大效果。 类似X6中的滚轮缩放功能:https://x6.antv.vision/zh/docs/tutorial/basic/mousewheel

# Q2
G2中如何实现 在折线图中增加垂直的标注尺,标注尺可以拖拽。分别支持单标尺和双标尺

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reviewing G2's existing interaction behavior and the linked X6 mousewheel example, then clarify the required zoom and draggable single- or double-ruler behavior before defining completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.