antvis/G2


The issue has been closed
v5 beta 5: How to set the backgroundColor to transparent #4519
sspilleman posted onGitHub
Hi,
How can I set the Canvas to transparent? I'm using the dark theme, but currently it defaults to black, and I'm using a different color.
I already tried this:
chart.theme({ type: "dark",backgroundColor:"transparent" });
Thank you!