Home › forums › Using CanvasJS › Export Multiple chart in one pdf
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 1 month ago.
Its working fine when 3 charts . its exports correctly.
but if more than 5 charts pdf size will change but chart not show in pdf.
We don’t have exporting chart as pdf, as of now. But with couple of lines of code you can export to pdf using jsPDF as shown in this jsfiddle.
Using html2canvas along with jspdf, you can achieve exporting multiple charts. Refer this jsfiddle for the same.
Exporting more than 5 charts also seems to be working fine, when you configure html2canvas options accordingly. Please take a look at this updated jsfiddle. Please refer html2canvas documentation for more configuration options available and configure it in your webpage / app accordingly.
You must be logged in to reply to this topic.