antvis / antvis/G2Plot

🐛 [BUG] DualAxes lengend 配置正选 radio,初始化后 如果第一次点击uv 无法正常显示

Open
#3,523 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]
1、第一次初始化后,如果第一次点击uv图例 无法正常显示。
2、第一次初始化后,如果第一次点击除uv图例,后在继续操作uv 则可以正常显示。
> 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
image

### 🚑 Any additional [like screenshots]

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

Contributor guide

Open the contributing guide

Research direction

Start with the linked G2Plot issue template and reproduce the DualAxes chart behavior described in the issue. Check whether the first click on the uv legend fails while clicking another legend first makes later uv clicks work. Use the expected-result screenshot to determine when the legend display is fixed, and record the G2Plot version and platform used.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.