How to create pdf and image of generated graph?

Hi, I am developing model comparison application. I have generated graph from my result data. Now I want to do below things: I should I create the PDF of generated graph. And also I want to save that as a image. Below is the screenshot of my generated graph: Note: I tried with printScreen widget, it show every contents expect graph. I don’t want to use it.
1 answers

In the appstore there is a widget for a graph which will generate a png file of that graph so you can use it in a document template:

Other option would be to use something like Templater:

This way you can have an Excel template with the graph and use tokens to refresh the data in Excel that produces the graph.