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
请确保提问前做了以下事,将完成的项目的 [] 改为 [x]:
[]
[x]
将符合项的 [] 改为 [x],并补充需要的信息:
代码如下:
label: { show: props.tips, formatter: item => { if (item.data.date === testExample[5]) { return '{bg|测试测试测试}' } return '' }, rich: { bg: { padding: 8, }, }, backgroundColor: 'white', borderRadius: 10, distance: 10, }, symbolSize: (item, data) => { if (testExample.includes(item.date)) { return 10 } return 0 },
符合条件的设置样式为设置大小10,正常情况下都是对的; 当testExample取到折线图的起始点的数据时;只渲染初始点,其他点的样式没有效果;但是鼠标悬停到testExample里面的其他点的时候会有样式显示,label也不显示
??? (如有需要请提供预期的图)
??? (如有需要请提供截图)
The text was updated successfully, but these errors were encountered:
今天测试换了渲染symbolSize的数据,现在都不渲染了;是不是因为数据量太大的原因?symbolSize:10的数据有9个;整个图要渲染的数据是2000+多个
Sorry, something went wrong.
No branches or pull requests
提问前应该做的事
请确保提问前做了以下事,将完成的项目的
[]
改为[x]
:需提供的信息
将符合项的
[]
改为[x]
,并补充需要的信息:简单描述问题:
代码如下:
符合条件的设置样式为设置大小10,正常情况下都是对的;
当testExample取到折线图的起始点的数据时;只渲染初始点,其他点的样式没有效果;但是鼠标悬停到testExample里面的其他点的时候会有样式显示,label也不显示
预期效果:
???
(如有需要请提供预期的图)
实际效果:
???
(如有需要请提供截图)
复现环境:
The text was updated successfully, but these errors were encountered: