`const wkhtmltopdf = require('wkhtmltopdf');
//On local:3000 I am running the service which returns chart based web page.
const baseUrl = "http://localhost:3000/";
let fileName = "output.pdf";
wkhtmltopdf( baseUrl, { output: fileName }, function(){
console.log("Successfull")
});
`
No charts are printed in PDF. What should I do.
I know that if I can delay the PDF generation after page load but here in this API I have no such control.