Home Forums Chart Support Add Extra Text to the PDF file Reply To: Add Extra Text to the PDF file

#39402

@ankur,

You can use text() method of jsPDF to add extra content after chart as shown in the code snippet below.


var pdf = new jspdf.jsPDF();
pdf.addImage(dataURL, 'JPEG', 0, 0);
pdf.text(0, 230, "Simple Column Chart")
pdf.save("download.pdf");

—-
Manoj Mohan
Team CanvasJS