antvis/G2

当renderer设置为"canvas"时,graph.toDataURL()生成空白页 #3323

Lcyame posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

https://antv-g6.gitee.io/zh/examples/item/defaultNodes#circle

Steps to reproduce

将'renderer'设置为'canvas',然后在graph.render();之后添加'let dataurl = graph.toDataURL()',生成的url为空白页面

Environment Info
g2 4.1.12
System win10
Browser chrome89

将'renderer'设置为'svg'时正常

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


Fund this Issue

$0.00
Funded

Pull requests