Reporting

Column moves left when I export dashboard to Pdf

duyuzhuo
Explorer

Because of the dashboard has too many units, I have changed 600 to 1400 in pdfgen_chart.py.but when I export Pdf, the column moves to left, why? how to fix it?alt text

alt text

Richfez
SplunkTrust
SplunkTrust

Where in pdfgen_chart.py did you make that change?

My guess is that most likely you either changed the wrong thing, or didn't change it everywhere it needed to be changed.

Also, what exactly were you trying to change? Because this didn't seem to alter anything noticeable (and expected), only cause a bug or weird behavior - which is frankly what I'd expect if you go changing numbers and things in that python file... 🙂 (At least until you spend an hour debugging what you did...)

0 Karma

duyuzhuo
Explorer

thanks for your answer

I just change 600 to 1400 in pdfgen_chart.py to make x-arix full display.

class Chart(SvgBasedViz):
    def init(self, data, fields, props, locale, runningAsScript=False):
        SvgBasedViz.init(self, data, fields, props, width=600, height=350, genSvgScriptName="gensvg.js", runningAsScript=runningAsScript, locale=locale)

like this link https://answers.splunk.com/answers/499214/why-does-my-dashboard-shows-labels-in-column-chart.html

0 Karma
Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...