uykusuz commented on issue #9232:
URL: https://github.com/apache/echarts/issues/9232#issuecomment-1159802871

   @tihuan I don't know when it was introduced, but you can do it now with 
something like this `echarts.init(undefined, undefined, { renderer: "svg", ssr: 
true, width: <width>, height: <height> })` and then invoke 
[renderToSVGString](https://echarts.apache.org/en/api.html#echartsInstance.renderToSVGString).
 This is how I got it working inside a web worker. See 
[init](https://echarts.apache.org/en/api.html#echarts.init), the option `ssr`
   
   Then you get an SVG at least. Of course you won't be able to do the usual 
interactions with that echarts supports, but at least you have an object with a 
DOM.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to