antvis / antvis/F2

饼图 poi-select 似乎不是很灵敏

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

Description

* 问题:最近做一个需求,使用了F2的饼图`interaction:'poi-select'`,但是发现效果不是很好,点击时不是很灵敏。
* 复现:
1. 官网demo:https://f2.antv.vision/zh/examples/pie/basic#pie-click
2. 点击该饼图
![image](https://user-images.githubusercontent.com/26913511/91113528-628cff80-e6b8-11ea-822d-32d4f5dcd03c.png)
3. 任意点击,也会出现不是很灵敏的现象

希望能处理一下,谢谢~

Contributor guide

Open the contributing guide

Research direction

Start with the official pie-chart demo at https://f2.antv.vision/zh/examples/pie/basic#pie-click and reproduce the issue using interaction: 'poi-select'. Trace the pie-chart interaction and hit-testing behavior from that example. Done means clicks on the pie reliably select the intended slice instead of intermittently failing.

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.