Showing results for 
Search instead for 
Did you mean: 

Custom PDF Export Script - Fit to 1 Page

10 - ETL
10 - ETL

Does anyone have suggestions on how to force all widgets to fit on 1 page when exporting to PDF? Is anyone aware of a custom script that would do this?  

Here is a screenshot of the dashboard when viewed from the web app


Here is a screenshot showing the PDF export on two pages instead of 1





9 - Travel Pro
9 - Travel Pro

I don't know if it is possible with a custom script but you can play a little bit with the size of the paper to see if it fits more widgets, for instance we use Legal (216mm x 356mm) and Landscape orientation and it mostly works for most dashboards, if you really need to fit everything inside a portrait letter size page I would recommend doing a script that exports PNG files from every widget using the API and then fits them into a single PDF page as best as possible using your own criteria.

12 - Data Integration
12 - Data Integration

Hi @cartercjb ,

There is not a default option to enforce it on every dashboard by default. However you can do this per PDF/dashboard. Select Edit Mode in the left corner. The widget borders will get thicker and makes it possible to decrease/increase the size of them. Depending on the amount of widgets and their position, you can decrease the height so they all fit on 1 page.

This is done separately from your dashboard layout. That will remain the same.