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
用@antd-design/plots编写一个折线图组件,期望把图例部分图标改大一点,查看了文档
第一个问题:color和size这两个配置怎么用? 自己没理解,直接在legend下写配置测试了都无效 第二个问题:下载了源码才发现有itemMarkerSize 的配置,并且找到代码里是配置在color下,文档中没有 第三个问题:DisplayObject 这个具体是什么? 没找到,不知道怎么用?
请问这些文档后续还会完善吗? 还是使用antv就是需要对着代码用?
{ legend: { color: { itemMarkerSize: 24, labelFormatter: (a) => { return a.split('')[0]; }, }, size: {}, }, }
The text was updated successfully, but these errors were encountered:
所以 DisplayObject 是什么, 看了源码 试着传入 一个object ,但是并不支持,
Sorry, something went wrong.
No branches or pull requests
🧐 问题描述 [详细地描述问题,让大家都能理解]
用@antd-design/plots编写一个折线图组件,期望把图例部分图标改大一点,查看了文档
第一个问题:color和size这两个配置怎么用? 自己没理解,直接在legend下写配置测试了都无效
第二个问题:下载了源码才发现有itemMarkerSize 的配置,并且找到代码里是配置在color下,文档中没有
第三个问题:DisplayObject 这个具体是什么? 没找到,不知道怎么用?
请问这些文档后续还会完善吗? 还是使用antv就是需要对着代码用?
💻 示例代码 [如果有必要,展示代码,线上示例,或仓库]
{
legend: {
color: {
itemMarkerSize: 24,
labelFormatter: (a) => {
return a.split('')[0];
},
},
size: {},
},
}
🚑 其他信息 [如截图等其他信息可以贴在这里]
The text was updated successfully, but these errors were encountered: