blob: ec45f84bcac2c7c55d28340fce9daca91ae9ab36 [file] [log] [blame]
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{316:function(e,t,o){"use strict";o.r(t),t.default="# Server Side Rendering\n\nApache ECharts<sup>TM</sup> can be rendered at server-side. For example, the thumbnails in the [official examples page](https://echarts.apache.org/examples/en/index.html) are generated at a server.\n\nCommonly used headless tool is required, for example, [puppeteer](https://github.com/GoogleChrome/puppeteer), [headless chrome](https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md), [node-canvas](https://github.com/Automattic/node-canvas), [jsdom](https://github.com/jsdom/jsdom), [PhantomJS](http://phantomjs.org/), etc.\n\nSome solutions contributed by the community are list as follows:\n\n- https://github.com/hellosean1025/node-echarts\n- https://github.com/chfw/echarts-scrappeteer\n- https://github.com/chfw/pyecharts-snapshot/blob/master/pyecharts_snapshot/phantomjs/snapshot.js\n- https://gist.github.com/pissang/4c32ee30e35c91336af72b129a1a4a73\n\nNotice: if server-side rendering result is different from browser-side rendering, please set [animation](option.html#animation) as `false` and try again.\n"}}]);