Server Side Rendering
Apache EChartsTM can be rendered at server-side. For example, the thumbnails in the official examples page are generated at a server.
Commonly used headless tool is required, for example, puppeteer, headless chrome, node-canvas, jsdom, PhantomJS, etc.
Some solutions contributed by the community are list as follows:
- https://github.com/hellosean1025/node-echarts
- https://github.com/chfw/echarts-scrappeteer
- https://github.com/chfw/pyecharts-snapshot/blob/master/pyecharts_snapshot/phantomjs/snapshot.js
- https://gist.github.com/pissang/4c32ee30e35c91336af72b129a1a4a73
Notice: if server-side rendering result is different from browser-side rendering, please set animation as false
and try again.