Support Article
Report chart not exported to PDF.
SA-6180
Summary
Report Definition Charts are not exported to PDF.
Error Messages
The PDF document contains only the data and not the Chart.
Steps to Reproduce
Create a summary report through Report Definition with a Chart.
Select the option to export to PDF.
Root Cause
Pega 7.1.6 does not support this feature.
Resolution
Report Definition Charts are generated using the 'SWF', a Flash based utility. The activity which is generally used to generate PDFs utilises a tool called 'HTMLTOPDF', which processes standard HTML (and Image) content from which the PDF documents are then created. As such, the Report Definition Charts are not exportable to PDF via this method, as the functionality to do so is not currently available.
However, if you need to include a Chart as an image in a PDF document, you have the option of utilising a Summary View report instead of a Report Definition. In a Summary View report, if you select “Chart Output Type” from the “Chart” tab as “Image”, then it will include that Chart image in the resulting PDF document during the export processing.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.