Home › forums › Using CanvasJS › i have one class in which i have create pdf on the fly. i want to include chart › Reply To: i have one class in which i have create pdf on the fly. i want to include chart
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