You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/06/19 20:08:28 UTC

[GitHub] [echarts] uykusuz commented on issue #9232: Use OffScreenCanvas API for big data live charts

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-unsubscribe@echarts.apache.org

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


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