Generate chart by echarts in nodejs.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 22dfb9c Nov 27, 2017
Failed to load latest commit information.
.github feat: add issue tpl Nov 27, 2017
demo feat: add version number Nov 18, 2017
.gitignore 增加中文支持 Feb 7, 2017 Update Nov 18, 2017
index.js opti: 说明 Nov 18, 2017
index.test.js Promisify, return buffer Nov 18, 2017
package.json feat: add version number Nov 18, 2017


Generate chart by Echarts in Nodejs.


OS Command
OS X brew install pkg-config cairo pango libpng jpeg giflib
Ubuntu sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
Fedora sudo yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel
Solaris pkgin install cairo pango pkg-config xproto renderproto kbproto xextproto
Windows Instructions on our wiki
npm install node-echarts


var node_echarts = require('node-echarts');
    width: 500 // Image width, type is number.
    height: 500 // Image height, type is number.
    option: {}, // Echarts configuration, type is Object.
    //If the path  is not set, return the Buffer of image.
    path:  '', // Path is filepath of the image which will be created.