We have requirement of exporting complete mashup page with charts and KPIs to PDF format, we tried JSPDF but that only exports text. Is there an option to export whit charts as well.
Hi fkajvs ,
Can you please help, thanks.
Check out phantomjs.
Thanks Martin i checked the page its only capturing screenshot, that would not work if there is many pages in my mashup(i.e. it has scroll), please let me know if i am missing something.
You can capture multiple screenshots and then programmatically collate them to a PDF using ImageMagick.
Multiple Screen Shot -> That means user has to scroll and take screen shot multiple times?
Not the user, but the phantomjs client:
The idea is that the user hits a custom print button, that will kick-off phantomjs server-side which will take a multi-page screenshot of the mashup and then return back a PDF file.
Not saying this is super straightforward to implement, but it's possible.
Ok thanks will update how it plays out.
we were able to take screen shot and export to pdf but,unfortunately this does not works as only text is coming its not bring in the charts.
It's probably a rendering issue - are you using extensions or native QS objects for charts?
PhantomJS will very likely have produced an error message in the console.
Its working now i will post detail solution after its finished thanks for your help Martin
Retrieving data ...