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://g2.antv.vision/zh/examples/pie/basic#labelline@
饼图取消勾选某个事例后,事例标签实际未从页面消失,只是被其他事例覆盖一部分,所以会出现类似重影的bug。
The text was updated successfully, but these errors were encountered:
感谢反馈,这个问题真有点奇怪。解法如下:
const chart = new Chart({ container: 'container', autoFit: true, height: 500, localRefresh: false, // 增加这里 });
大概能知道是什么问题,底层 G 渲染的时候,会根据变化区域去做按需渲染,然后因为变化区域的大小计算有 0.5px 像素的差别,导致画布上又少量区域没有擦除重新渲染。
Sorry, something went wrong.
No branches or pull requests
Reproduction link
https://g2.antv.vision/zh/examples/pie/basic#labelline@
Steps to reproduce
饼图取消勾选某个事例后,事例标签实际未从页面消失,只是被其他事例覆盖一部分,所以会出现类似重影的bug。
The text was updated successfully, but these errors were encountered: