antvis/G6

[v5] toDataURL 导出图片的背景不能设置,固定为白色 #5998

zzjjbbaa posted onGitHub

Describe the bug / 问题描述

image 希望可以像v4版本一样,可以自定义导出图片的背景色。

https://stackblitz.com/edit/react-fvxok2?file=index.js

Steps to Reproduce the Bug or Issue / 重现步骤

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS, Windows, Linux, Others / 其他

Browser / 浏览器

Chrome, Edge

Additional context / 补充说明


导出背景图片需要设置到 background 上

posted by Aarebecca 10 months ago

导出背景图片需要设置到 background 上

导出背景图片需要设置到 background 上

👍👍👍

posted by zzjjbbaa 10 months ago

Fund this Issue

$0.00
Funded

Pull requests