antvis / antvis/G2

Interaction brushXFilter applies scale to the Y axis

Open
#6,504 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

brushXFilter applies scale to the Y axis as well

### 重现链接

_No response_

### 重现步骤

1. Create a DualAxes chart.
2. Add multiple axes
3. Set the brushXFilter to true in the interaction property
4. Select a part of the data

### 预期行为

Scale applies only to the X axis

### 平台

- 操作系统: Windows
- 网页浏览器: Google Chrome

### 屏幕截图或视频(可选)

![image](https://github.com/user-attachments/assets/575e1d6e-4d53-4e72-9a16-50d9b460bb53)

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with a DualAxes chart using multiple axes and brushXFilter enabled, then trace the interaction entry point that handles selection scaling. Done means selecting part of the data changes only the X-axis scale; add or update a regression test for that behavior if the relevant test location is identified.

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
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.