antvis / antvis/G2Plot

🐛轴标题展示问题

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

> Please provide a link by forking these links [G2Plot](https://codesandbox.io/s/g2plot-issue-template-gzfdq?file=/index.ts) or GitHub repo, a minimal reproduction.

* _Required_ **Link to minimal reproduction**:

### 📷 Step to reproduce

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
* **Platform**:
图表的轴标题的位置太受限制了,比如y轴的标题只能在左侧添加吗?x轴标题只能在下方添加吗?我想实现下面这个效果应该怎么办呢?

![Image](https://github.com/user-attachments/assets/5e0fd5b4-14b4-43de-b83b-af2cb7c020b5)

Contributor guide

Open the contributing guide

Research direction

Start with the linked G2Plot minimal-reproduction template and compare the reported axis-title placement with the attached image. Trace the axis-title configuration and determine whether the requested x- and y-axis positions can be represented; done means the reproduction supports the shown placement or documents the limitation clearly.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.