canvas2svg
canvas2svg copied to clipboard
Can this be used with chart.js ? [question]
Hi. I am trying to use this library to export a chart created with chart.js to SVG, but it seems that chart.js can't use 'fake' context created by C2S. I am getting error_: "Failed to create chart: can't acquire context from the given item"_ when I try to draw a chart in C2S context.
See Codepen here for full example.
My Stackoverflow question is here.
Is there a way around this? Or am I missing something? Thanks.
@bockoblur I have the same problem. Did you find a solution?
Not yet. Still hoping, though.
Just got a pretty good answer here! https://stackoverflow.com/a/47943363/2678576