新版本g2 5.2.1 没有保存图片的方法了, chart.downloadImage()不能使用显示不存在这个方法 #6376
Unanswered
XcLyyds00176859245146532
asked this question in
Q&A
Replies: 1 comment
-
|
暂时没有提供这个方法的计划,可以通过拿到渲染的 canvas 然后去下载: const canvas = container.querySelector('canvas');
// 下载代码 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
问题描述
新版本g2 5.2.1 没有保存图片的方法了, chart.downloadImage()不能使用显示不存在这个方法,希望能像属性一样配置即可有下载功能

重现链接
No response
重现步骤
No response
预期行为
希望可以通过属性配置就能拥有下载图表为图片的功能
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
Beta Was this translation helpful? Give feedback.
All reactions