antvis / antvis/G2Plot

🤔 [QUESTION]直角坐标系 坐标轴 的 标题怎么设置offsetY吗

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

Description

### 🐛 Question description [Please make everyone to understand it]

### 💻 Link to minimal reproduction
https://g2plot.antv.vision/zh/examples/line/multiple#line-large-data
![image](https://user-images.githubusercontent.com/31841446/140250307-85195f74-d94d-44aa-a65e-6b8b5188664c.png)

### 🏞 Expected result
希望 y轴 的 position 设置`end` 后 可以设置距离顶部的偏移距离 现在的偏移是到坐标轴的
``
![image](https://user-images.githubusercontent.com/31841446/140250133-cf17811d-5edb-4517-ad05-6b8d029848f5.png)

Contributor guide

Open the contributing guide

Research direction

Start with the linked G2Plot line-chart minimal reproduction and compare the current y-axis title behavior when position is set to `end`. Trace the axis title configuration to determine whether a top-relative offset can be supported; done means the title can be positioned with the requested distance from the top and the reproduction demonstrates it.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.