score:0

Accepted answer

if you want to create a feature to allow a user to download the created charts into a image, you can use the 'todataurl()' function, and specify the canvas of each chart.

to download a canvas as a pdf you can use the jspdf library, using the above function to retrieve the canvas and then specifying the dimensions.

i may be wrong but i believe you need to create the charts and display on a web page before converting them to an image/pdf. hope this helps!


Related Query

More Query from same tag