Home forums Using CanvasJS Export to pdf not working

This topic contains 5 replies, has 2 voices, and was last updated by  Priya 2 months, 1 week ago.

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

    Priya
    Member

    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

    #15557

    Suyash Singh
    Moderator

    @priya,

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

    ___
    Suyash Singh
    Team CanvasJS

    #15558

    Priya
    Member

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

    #15559

    Suyash Singh
    Moderator

    @priya,

    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

    #15566

    Priya
    Member

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

    #15567

    Priya
    Member

    my problem is solve
    Thank you for your help

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

You must be logged in to reply to this topic.