🐛 [BUG]饼图配置交互视图出现了一个reset按钮
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
### 🐛 Bug description
> 饼图配置交互视图出现了一个reset按钮
### 📷 Step to reproduce
`interactions: [{ type: 'brush' }, { type:'legend-filter', enable:false }, { type: 'legend-active', enable:false }],`
然后鼠标手势会变成+

点击空白任意地方出现reset的白色按钮

### 🏞 Expected result
### 🚑 Any additional [like screenshots]
* **G2Plot Version**:
"@antv/g2plot": "2.4.31",
* **Platform**:
macOS 13.4
GoogleChrome
"Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114"
Contributor guide
Research direction
Reproduce the issue in a pie chart using the supplied interactions configuration, with G2Plot 2.4.31 in Chrome on macOS. Start by tracing the chart interaction and reset-button behavior; done should match the intended interaction view without the unexpected white reset button.
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