Does it have to be PDF? From what I've gathered the Google Charts are HTML5/SVG, so if you save it to a HTML file a browser can handle it.
something like this may be worth exploring?
https://github.com/xhtml2pdf/xhtml2pdf
Does it have to be PDF? From what I've gathered the Google Charts are HTML5/SVG, so if you save it to a HTML file a browser can handle it.
Any static format will do. It is HTML indeed but I want to automate this (+100 graphs, weekly report) and I'm not sure how to export this from a browser using workbench / server. An alternative is to create the complete report in HTML but then I still need to click "Save as PDF" and I wondered if anyone had this already solved. (PDF is not my favorite format, but is required to get paid, for now.)
something like this may be worth exploring?
https://github.com/xhtml2pdf/xhtml2pdf
Thanks, I'll put it on my research list.
Any static format will do. It is HTML indeed but I want to automate this (+100 graphs, weekly report) and I'm not sure how to export this from a browser using workbench / server. An alternative is to create the complete report in HTML but then I still need to click "Save as PDF" and I wondered if anyone had this already solved. (PDF is not my favorite format, but is required to get paid, for now.)
Ah, you're using a Data Streaming service, right? What about a copy of the workspace that you put on a schedule that writes to HTML, in a Job Submitter service?
However, in order to get that into a nice PDF you're essentially have to recreate the whole thing. One option that's worth exploring though is using the FME Auto plug-in for MAPublisher, but you would need a license of MAPublisher as well. We've recently used that to generate PDF's of elevation profiles and also entire maps and once you got the hang of it it's a pretty nifty combination.
Any static format will do. It is HTML indeed but I want to automate this (+100 graphs, weekly report) and I'm not sure how to export this from a browser using workbench / server. An alternative is to create the complete report in HTML but then I still need to click "Save as PDF" and I wondered if anyone had this already solved. (PDF is not my favorite format, but is required to get paid, for now.)
No, these particular graphs are cross sections of surveys of dikes with their design tolerances. They are usually created in Cad by engineers, but consumes a lot of time and need to be reproduced repeatedly when something changed in the design or survey. We display the cross sections in a webgis viewer with the graph in a popup. We just display the HTML in the popup. Webgis is a great tool to get information from during the project, but as it tends to be not static, we need a pdf printed document for the customers archives.