Home forums Using CanvasJS i have one class in which i have create pdf on the fly. i want to include chart

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Priyanka M S 1 month ago.

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

    i have one class in which i have create pdf on the fly. i want to include chart image in pdf without interacting with browser.

    #23080

    Priyanka M S
    Member

    @shankar.gidwani

    i want to include chart image in pdf without interacting with browser.

    You should use the headless browser to achieve this. Please take a look at this sample project on integrating CanvasJS with PhantomJS. Along with this, you can use rasterize.js API to capture the webpage in PDF format. Please take a look at this article on using rasterize.js on PhantomJS engine, which might be of help.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.