[Error] Issue downloading Vue-chart.js chart as a PNG #1021
Closed
Jarryd-pretorius
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey Devs thought I would post this issue here to see if you guys have any idea on how to fix the problem. any help would be greatly appreciated :)
I cannot get a my vue-chart.js canvas to download using toDataURL() I have tried multiple methods with no success and continue to run into a tainted canvas error wondering if anyone else has had this issue?
Below is the example of the code which gets the canvas from the "copyChart" ref which is assigned to the line graph and returns the canvas as a PNG.
and here is the code that generates the line graph
Regarding the framework I am currently using Nuxt3
Beta Was this translation helpful? Give feedback.
All reactions