cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 Vizframe charts - PDF download

0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member365727
Active Contributor
0 Kudos

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

0 Kudos

Below is my Dom element.