Reporting

PDF rendering leaves big gaps

Contributor

Hi, I've got a pretty large dashboard which is split up into 4 sections. Each section looks like this:

1st Row : Title
2nd Row : Left - Single Value | Right - Single Value
3rd Row : Column chart
4th Row : Column chart

I can see that these will easily fit on one page, but everytime the PDF server renders the dashboard there is always a huge gap between the 3rd and 4th row, so the 4th row appears on the next page.

I've set the paper size to A3 portrait. I would also prefer not to split them up onto separate dashboards.

Can anyone suggest a way of inserting a page break, or a way of changing the margins on the PDF server?

0 Karma

Path Finder

Actually - if you are using the integrated- check out /lib/python2.7/site-packages/splunk/pdf/pdfrenderer.py

I changed the margins, and font size there, and you can probably do other things as well.

Path Finder

Are you using PDF server or the integrated PDF in SPLUNK 5/6?
If the integrated one I found this:
http://answers.splunk.com/answers/106550/can-i-change-the-margin-space-of-my-pdf

0 Karma