Skip to Content
avatar image
Former Member

SAPUI5 Vizframe charts - PDF download

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

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

    Below is my Dom element.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 14, 2017 at 04:52 PM

    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

    Add comment
    10|10000 characters needed characters exceeded