antvis / antvis/G2Plot

🐛 [BUG] Brush doesn't work correctly for DualAxes

Open
#3,424 0 comments 1 reaction 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]

* _Required_ **Link to minimal reproduction**: https://codesandbox.io/s/friendly-heisenberg-n49wdo?file=/index.ts

### 📷 Step to reproduce

| before brush | after brush |
| --- | --- |
| ![image](https://user-images.githubusercontent.com/14918822/207004898-29691dc8-427d-4072-95e7-eb26cdddd125.png) | ![image](https://user-images.githubusercontent.com/14918822/207005139-c8cd1b68-5bd5-4016-b76a-ad66f7c30d88.png) |

### 🏞 Expected result

- Brush should work as expected.

### 🚑 Any additional [like screenshots]

* **G2Plot Version**: 2.4.23
* **Platform**: Chrome 107.0.5304.121 on MacOS

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox minimal reproduction for the DualAxes chart and inspect the behavior before and after applying the brush. Reproduce it with G2Plot 2.4.23 in the stated Chrome/macOS environment, then verify that brushing produces the expected chart result shown by the report.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.