Splunk Search

Why is my PDF report not displaying the chart from my custom js script?


Hi All,

My dashboard has a custom js script, and while sending the PDF report, my graph which is from the js script is not visible.

Please help me out on this.


0 Karma

Splunk Employee
Splunk Employee

Hi @bharathkumarnec,
It sounds like the PDF behavior your are seeing is due to the custom js script. In our documentation about PDF generation, it is noted that PDF is only supported for dashboards built with Simple XML and that
"PDF generation ignores charting customizations that are not supported by the JSChart charting library. The finished PDF displays the panels as rendered in JSChart with the unsupported customizations removed."


Hope this helps!

0 Karma

Path Finder

It is an answer, but it doesn't help.

0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.