antvis / antvis/G2Plot

🤔 [QUESTION] 刷选交互中,当使用x轴或y轴刷选时,重置按钮不显示

Open
#2,978 1 comment 0 reactions 0 assignees View on GitHub
Question
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Question description [Please make everyone to understand it]

我在这个[官方示例](https://g2plot.antv.vision/zh/examples/dynamic-plots/brush#advanced-brush1)的 **brush 配置**中添加`type = 'x-rect'`或者`type = 'y-rect'`后进行刷选,重置按钮都不会显示,请问这是设计如此,还是一个 bug ?我并未在文档中找到相关的说明。
![image](https://user-images.githubusercontent.com/50657815/141771489-0340a904-3364-438c-8e8c-c8f2b54c55c1.png)

Contributor guide

Open the contributing guide

Research direction

Start with the linked official advanced-brush1 example and its brush configuration, reproducing x-rect and y-rect selection. Check the existing brush documentation for reset-button behavior; done means the expected behavior is confirmed and the missing explanation is documented, or the issue is narrowed to an implementation bug.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Documentation
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.