Generate Report

Hey, Plotly.js Community,

I see that I can use Python to generate a pdf report with Plotly graphs, but I’m working in JavaScript and I don’t see a way to do the same. I can use Node.js with a package called PDFKit to create PDF reports.

In the report I’m creating, I need to generate images of the graphs that are generated in the Plotly.js application. Is there a method to call to generate those images?

Thanks for any insight!

Apologies for not seeing the Node.js API. I was able to use plotly.getImage() for this particular problem.

There’s also this

if you prefer download your images client-side.