antvis / antvis/G2Plot

🐛 [BUG] Line 交互(brush-x)没有联动 slider 变化

Open
#3,312 1 comment 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]

`Line` 添加交互 `brush-x`,在图表上框选范围后,`slider` 没有联动变化

https://codesandbox.io/s/modern-firefly-yw0ykt?file=/index.ts

### 🏞 Expected result
![image](https://user-images.githubusercontent.com/9134671/183422335-bcf12e5b-847a-43e5-a84b-296166db7ecd.png)
框选 1 后 会有 2 自动联动

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the linked CodeSandbox using a Line chart with `brush-x`. Compare the brush selection with the slider state and trace the interaction synchronization; done means selecting a range on the chart updates the slider to the same range as shown in the expected result.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.