I've used canvg in one of my projects and I like it for the most part.
Might not matter to you, but I gave up on canvag because it doesn't work properly for SVGs that contain nested SVG tags.
On Thursday, July 26, 2012 11:43:09 AM UTC-4, Hugo Shi wrote:Might not matter to you, but I gave up on canvag because it doesn't work properly for SVGs that contain nested SVG tags.
Did you figure out an alterative?
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Has anyone been successful exporting a graph?
In that case you can extract the svg Dom as a string. Inject some global styles if necessary and send it to the server to rasterize as PNG.
You received this message because you are subscribed to a topic in the Google Groups "d3-js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/d3-js/h3ELz1LdMLE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to d3-js+un...@googlegroups.com.
This will replace the contents of $("#outselector") with an <img src="http://<yourhost:port>/gete_png/sha1hash> tag which will magically spring into existence.