外部点击事件触发图表事件
Open
- 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.
### What problem does this feature solve?
应用场景是:切换 tabs 选中饼图对应的区块。
查看文档和Issues介绍的都是作用于canvas联动事件,而没有作用于外部dom事件触发图表事件的介绍,有什么api能够通过点击按钮触发图表事件
### What does the proposed API look like?
`
点击选中饼图的某个区域`
Contributor guide
Research direction
Review the chart event documentation and existing event APIs described in the issue, then determine how an external button could target a pie-chart segment rendered in the canvas. Done means documenting or exposing a supported API that lets a button or tab selection trigger the corresponding chart event.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100