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!

Let’s Talk Terraform

If you’re beyond the first-weeks-of-a-startup stage, chances are your application’s architecture is pretty ...

Cloud Platform | Customer Change Announcement: Email Notification is Available For ...

The Notification Team is migrating our email service provider. As the rollout progresses, Splunk has enabled ...

Save the Date: GovSummit Returns Wednesday, December 11th!

Hey there, Splunk Community! Exciting news: Splunk’s GovSummit 2024 is returning to Washington, D.C. on ...