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 2 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22345

    otaindia
    Member

    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.

    #22347

    Vishwas R
    Keymaster

    @otaindia,

    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.


    Vishwas R
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.