饼图设置了选中样式,点击PieLabel中的文字时,对应的饼图块未展示选中样式?
- 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.antgroup.com/zh/examples/pie/pie/#pie-with-label](https://f2.antv.antgroup.com/zh/examples/pie/pie/#pie-with-label)
### Steps to reproduce
1、在实例代码中添加饼图的选中样式
{
const { yMax } = record;
return {
r: yMax * 1.1,
};
},
}}
/>
2、点击PieLable上的文案,查看对应块并未被选中


| Environment | Info |
|---|---|
| f2 | 5.4.4 |
| System | - |
| Browser | - |
Contributor guide
Research direction
Start from the pie-with-label reproduction linked in the issue and inspect how the Interval selection configuration and PieLabel handle clicks. Verify whether clicking label text reaches the corresponding pie block's selection behavior. Done means clicking a PieLabel selects the matching slice and applies the configured selectedStyle.
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