antvis / antvis/F2

官方“自定义带交互的图例”demo,交替点击图例,图表显示重叠问题。

Open
#1,128 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

- [ ] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[https://antv-f2.gitee.io/zh/examples/component/legend#custom](https://antv-f2.gitee.io/zh/examples/component/legend#custom)

### Steps to reproduce
交替点击legend图例,图表显示重叠bug。

| Environment | Info |
|---|---|
| f2 | 3.8.1 |
| System | - |
| Browser | - |

![image](https://user-images.githubusercontent.com/20379037/106550092-6bc6a600-654d-11eb-8587-2f03c59b5efc.png)![image](https://user-images.githubusercontent.com/20379037/106550125-797c2b80-654d-11eb-88d7-78252d0c5553.png)

Contributor guide

Open the contributing guide

Research direction

Start with the custom interactive legend demo at https://antv-f2.gitee.io/zh/examples/component/legend#custom and reproduce the issue by alternating legend clicks. Trace the legend interaction and chart redraw path; done means repeated alternating clicks no longer produce overlapping chart content.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
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.