Print page with PocketQuery graphs

If I print a page containing a PocketQuery generated graph, the graphs will print. But if I try to export the page as a PDF file, the graphs do not show up. The Google chart api does have a getImageURI() function that will return the chart as a PNG. Is there a way to call this function via a PocketQuery template? And would it show up in the PDF?

1 answer

Hi!

Thank you for your interested in PocketQuery.

Unfortunately it is not possible to export the graph as a PDF file, since the PDF will be created on the server before the graph will be rendered in the browser. Still, you can use PocketQuery inside the ‚Chart’ Macro with the default template. The output of the ‚Chart‘ Macro should be visible in the PDF.

 

Best regards,

Natascha

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 6 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

48 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you