Skip to Content
0

SAPUI5 Vizframe charts - PDF download

Aug 13, 2017 at 12:18 PM

205

avatar image
Former Member

Dear Experts,

I am working quite a long time to download the XML view made of charts(Pie and Column) in to PDF. I have tried many approaches to download the entire XML view like JSPDF, Canvas, But the Vizframe chart's are not rendering in to the PDF, However other UI controls like Text and Buttons are rendering to a PDF\Image.

My Requirement is to download the entire application to a PDF, the app contains many charts with Text headings.

Does any one have a working solution or a Github .?

I have found many external plugins to download the chart like Amcharts, C3. But really looking forward to implement the same in SAPUI5 Vizframe's.

SAPUI5 Version I am using is 1.28(I know it is quite older version, what can I do , my client does not think so.) -- Thanks in Advance

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Aug 13, 2017 at 12:22 PM
0

Below is my Dom element.


nsant.png (103.3 kB)
Share
10 |10000 characters needed characters left characters exceeded
Srikanth KV Aug 14, 2017 at 04:52 PM
0

haven't tried this....but my guess is you need to save vizframe charts as 'svg' using the api exportToSVGString and then call jspdf

https://stackoverflow.com/questions/23340610/how-to-create-easily-a-pdf-from-a-svg-with-jspdf

Share
10 |10000 characters needed characters left characters exceeded