Home forums Chart Support Export to pdf not working

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #15556

    i embeded export to pdf function on my code
    when i was click on it it was working but when i open that file it not show graph only it shows x and y axis content and when i print it it shows only half graph



    You can export chart using JSPDF. Please have a look at this example.

    Suyash Singh
    Team CanvasJS


    i tried the same code but after generating pdf it shows only x and y axis not shows the coloured bar



    Are you animating the chart? If so you need to export the chart after the animation is complete. Please take a look at this updated JSFiddle.

    Suyash Singh
    Team CanvasJS


    yes i was animating it .now the data is print but half graph is print on it not full


    my problem is solve
    Thank you for your help


    my chart is also getting cut while exporting to pdf. Any possible solutions?



    You can pass image width and height as parameters to addImage method of jsPDF to handle clipping of chart while exporting to pdf. Please take a look at this updated jsfiddle.

    Vishwas R
    Team CanvasJS


    try using Zetpdf. it is .net SDK for adding PDF render and print support in .net applications and best for every developer needs.

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

You must be logged in to reply to this topic.