antvis / antvis/G2Plot

🐛 [BUG]双轴图的图例居右时没有左对齐

Open
#3,320 0 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]

![图片](https://user-images.githubusercontent.com/30228406/185578417-60fec6b3-b311-4ab4-b2cf-445013300af8.png)

### 📷 Step to reproduce
https://codesandbox.io/s/adoring-chaplygin-9ccz6q?file=/index.ts
### 🏞 Expected result

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Start with the reproduction in the linked CodeSandbox, especially index.ts, and verify the dual-axis chart behavior when the legend is positioned on the right. Done means the legend items are left-aligned in that configuration and the reported reproduction no longer shows the issue.

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
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.