We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://f2.antv.antgroup.com/zh/examples/pie/pie/#pie-with-label
1、在实例代码中添加饼图的选中样式 <Interval x="const" y="ratio" adjust="stack" color={{ field: 'memo', range: [ '#1890FF', '#13C2C2', '#2FC25B', '#FACC14', '#F04864', '#8543E0', '#3436C7', '#223273', ], }} selection={{ selectedStyle: (record) => { const { yMax } = record; return { r: yMax * 1.1, }; }, }} />
2、点击PieLable上的文案,查看对应块并未被选中
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction link
https://f2.antv.antgroup.com/zh/examples/pie/pie/#pie-with-label
Steps to reproduce
1、在实例代码中添加饼图的选中样式
<Interval
x="const"
y="ratio"
adjust="stack"
color={{
field: 'memo',
range: [
'#1890FF',
'#13C2C2',
'#2FC25B',
'#FACC14',
'#F04864',
'#8543E0',
'#3436C7',
'#223273',
],
}}
selection={{
selectedStyle: (record) => {
const { yMax } = record;
return {
r: yMax * 1.1,
};
},
}}
/>
2、点击PieLable上的文案,查看对应块并未被选中
The text was updated successfully, but these errors were encountered: