Reporting

PDF rendering leaves big gaps

watsm10
Communicator

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

tgeer123
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.

tgeer123
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
Get Updates on the Splunk Community!

Improve Your Security Posture

Watch NowImprove Your Security PostureCustomers are at the center of everything we do at Splunk and security ...

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...