antvis / antvis/G6

[Docs]: 如何设置原点(0,0)在页面的中心位置,这个文档中没有介绍

Open
#7,146 0 comments 0 reactions 0 assignees View on GitHub
documentation 📖
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### 📍 Which page are you reading?

https://g6.antv.antgroup.com/api/viewport#graphzoomtozoom-animation-origin

### 💭 What's on your mind?

Could be clearer / 需要更清晰的解释

### 🤔 Tell us more

找了好几个小时,没找到将坐标原点(0, 0)设置在页面的正中心的办法

### 💡 Got any suggestions?

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the linked Viewport documentation at the Graph.zoomTo zoom-animation-origin anchor and review how coordinate positioning is currently explained. Document how to place the (0,0) origin at the page center, including any relevant configuration or API context shown there. Done means a reader can find and follow the explanation without searching elsewhere.

Written by the indexing model from the issue text.

Assessment

Domain
data-visualization, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.