Home Forums Chart Support Export to pdf not working Reply To: Export to pdf not working



We don’t have exporting chart as pdf as an inbuilt feature as of now. However with couple of lines of code you can export chart as pdf using jsPDF. Please find the code-snippet below.

var pdf = new jsPDF();
pdf.addImage(dataURL, 'JPEG', 0, 0);

Please take a look at this JSFiddle for complete code.
exporting chart as pdf using jspdf

Suyash Singh
Team CanvasJS