charts
charts copied to clipboard
Custom background (color or image)
Hey! Is it possible to customize the background of the chart? I want to customize the background color or even add a background image.
I already tried to add the background image to the website, but the background (image) is no part of the rendered SVG and consequently not included in the exported SVG file. Can you help?
for now, you can set background for '.chart-container'. it works well. color or image is ok.
@xch1029 This solution works well for the visual presentation in the browser but is not visible in the exported file. How can I add (background) styles which are also a part of the exported SVG file?
for exported file, we need creator to add this feature. for now,the exported function can't deal background color well
@xch1029 Okay. Will it be part of v2?
@hofmannsven no guarantees on adding this to v2.
@scmmishra Oh,... Is there any alternative workaround to hook into the export function?