Reporting

PDF rendering of dashboards cuts off some panels

raoul
Path Finder

We have recently started using the PDF Server component in Splunk.

The issue we have is that the PDF output doesn't appear to handle page sizing correctly and the result is that the edges of our graph panels are often clipped.

So, a dashboard that has a number of panels:

  • Usually has the right hand edge of all of the panels clipped off
  • Prints only on one page and abruptly clips panels at the bottom of the dashboard

Is there some special layout one should be using for dashboards intended to by rendered via PDF? Obviously the normal browser display elegantly handles different screen conformations but the PDF server does not appear to do this.

Tags (1)
1 Solution

ChrisG
Splunk Employee
Splunk Employee

Here's a link to a relatively new docs topic on troubleshooting PDF printing:

http://docs.splunk.com/Documentation/Splunk/4.3/Troubleshooting/PDFTS

There is some guidance in there about page and dashboard layouts that might help.

View solution in original post

rmjenson
Engager

In my environment I used the HiddenChartFormatter parameter charting.layout.margin to solve the right hand edge clipping of the chart.

        <module name="HiddenChartFormatter">
          <param name="charting.chart.stackMode">stacked</param>
          <param name="charting.legend.placement">bottom</param>
          <param name="charting.chart">bar</param>
          <param name="charting.layout.margin">(0,125,10,0)</param>
                             .
                             .
                             .

Where the numeric values set the left, right, top, and botom margin of the chart in the panel.

http://docs.splunk.com/Documentation/Splunk/latest/Developer/AdvChartingConfig-LayoutData

0 Karma

ChrisG
Splunk Employee
Splunk Employee

Here's a link to a relatively new docs topic on troubleshooting PDF printing:

http://docs.splunk.com/Documentation/Splunk/4.3/Troubleshooting/PDFTS

There is some guidance in there about page and dashboard layouts that might help.

Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...