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
这个文本溢出的是通过什么参数配置的,看了半天文档也没找到。
<Pie data={policyMoneyType} height={250} angleField={'value'} colorField={'name'} legend={{ color: {title: false, position: 'rightTop', rowPadding: 5}, position: 'right', itemName: {style: {fontSize: 12}}, }} radius={0.85} label={{type: 'inner', style: {opacity: 0}}} title={'金额'} />
The text was updated successfully, but these errors were encountered:
正常会默认向右填充的,如果配置了 padding ,可以结合 callback 处理一下。
legend: { color: { position: 'right', itemLabelText: () => 'xx' }, },
Sorry, something went wrong.
No branches or pull requests
🧐 问题描述 [详细地描述问题,让大家都能理解]
这个文本溢出的是通过什么参数配置的,看了半天文档也没找到。
💻 示例代码 [如果有必要,展示代码,线上示例,或仓库]
<Pie data={policyMoneyType} height={250} angleField={'value'} colorField={'name'} legend={{ color: {title: false, position: 'rightTop', rowPadding: 5}, position: 'right', itemName: {style: {fontSize: 12}}, }} radius={0.85} label={{type: 'inner', style: {opacity: 0}}} title={'金额'} />
🚑 其他信息 [如截图等其他信息可以贴在这里]
The text was updated successfully, but these errors were encountered: