-
Notifications
You must be signed in to change notification settings - Fork 19.7k
New issue
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
[Bug] toolbox的saveAsImage选项的excludeComponents排除toolbox时,图标的title依然会被绘制在图中 #16673
Comments
@life-as-flowers It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗 TRANSLATEDTITLE [Bug] When the excludeComponents of the saveAsImage option of the toolbox excludes the toolbox, the title of the icon will still be drawn in the figure BODY Version5.3.0 Link to Minimal ReproductionNo response Steps to Reproducelet option = { export default option; Current BehaviorWhen the excludeComponents of the saveAsImage option of the toolbox excludes the toolbox, the title of the icon will still be drawn in the figure (using the official example of the toolbox) Expected BehaviorAfter excluding the specified component, all information about the component is not displayed Environment- OS: win7
- Browser:chrome 99
- Framework: vue 2.6.11 Any additional comments?No response |
是不是开启了脏矩形渲染? |
@plainheart 是的,我关闭脏矩形渲染后就好了,感谢您的帮助,关于脏矩形之前没认真了解,我再去看看。然后关于echarts的文档,有些建议: |
@life-as-flowers 对于建议1,我们提供了有术语速查手册。 |
@plainheart 这是个很好的功能。关于toolbox的title,我发现是绘制在canvas里的,这样的话title容易越界,显示不全,我们是否能做成tooltip那样,以div绝对定位去显示呢?这样既可以解决脏矩形渲染时,排除toolbox时,title会被包括进去,又可以解决title的越界显示问题 |
@plainheart 你好,关于toolbox的title,我发现是绘制在canvas里的,这样的话title容易越界,显示不全,我们是否能做成tooltip那样,以div绝对定位去显示呢?这样既可以解决脏矩形渲染时,排除toolbox时,title会被包括进去的问题,又可以解决title的越界显示问题 |
你是说最右侧的 toolbox 的 title 显示不全么?那是个 bug,暂时还没修复。html 渲染现在暂不支持。 |
是的,在右侧时会显示不全。期望后续版本能做优化,支持html渲染,感谢解答。 |
Version
5.3.0
Link to Minimal Reproduction
No response
Steps to Reproduce
Current Behavior
toolbox的saveAsImage选项的excludeComponents排除toolbox时,图标的title依然会被绘制在图中(使用的是toolbox的官方示例)
Expected Behavior
在排除指定组件后,所有关于该组件的都不显示
Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: