by piratebroadcast · 12y ago · 0 comments
All we do is grab the SVG source with JS, post it back to the server, and get the image back (after it is scaled/watermarked/optimised). This setup has worked well for us for some years now. Further we can easily interchange charting libraries with on concern about their native exporting options because we handle the rendering ourselves.
[1] https://xmlgraphics.apache.org/batik/tools/rasterizer.html
Might be overkill, but would allow quite a bit of flexibility.