To my knowledge, no, although some crazy guy might have coded a JS library for these purpose.
For the record, Highcharts, a professional charting library, exports the charts to PDF by sending requests to a server, where they re-render the JS code via an off-line browser (PhantomJS).
Answers
To my knowledge, no, although some crazy guy might have coded a JS library for these purpose.
For the record, Highcharts, a professional charting library, exports the charts to PDF by sending requests to a server, where they re-render the JS code via an off-line browser (PhantomJS).
we are working on something like that for the future, but right now you might check out one of these: https://github.com/gliffy/canvas2svg, https://github.com/MrRio/jsPDF
here's an in progress preview of the p5-svg experiment: https://github.com/runemadsen/p5-svg-test