自定义带交互的图例,图列切换bug,选中状态和图表不对应
- 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://f2.antv.vision/zh/examples/component/legend#custom](https://f2.antv.vision/zh/examples/component/legend#custom)
### Steps to reproduce
官网->自定义带交互的图例, 直接多次点击图例可复现, 在项目中使用可直接复现。
| Environment | Info |
|---|---|
| f2 | 3.8.1 |
| System | - |
| Browser | - |
Contributor guide
Research direction
Open the custom interactive legend example at https://f2.antv.vision/zh/examples/component/legend#custom and reproduce the issue by clicking the legend repeatedly. Trace how legend selection updates the chart and verify that the selected state and displayed chart remain synchronized after repeated clicks.
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