node-echarts

Generate chart by echarts in nodejs.

Github星跟踪图

node-echarts

Generate chart by Echarts in Nodejs.

Install

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

Usage

var node_echarts = require('node-echarts');
var config = {
    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.
    enableAutoDispose: true  //Enable auto-dispose echarts after the image is created.
}

node_echarts(config)

Config, name, type, default, description, ---, ---, ---, ---, width, Number, 500, Image width, height, Number, 500, Image height, option, Object, {}, Echarts Options, path, String, -, Path is filepath of the image which will be created. If the path is empty, return buffer., enableAutoDispose, Boolean, true, Enable auto-dispose echarts after the image is created.

主要指标

概览
名称与所有者hellosean1025/node-echarts
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证
所有者活动
创建于2016-11-30 08:34:38
推送于2020-09-16 04:01:28
最后一次提交2020-09-16 12:01:27
发布数0
用户参与
星数286
关注者数16
派生数89
提交数59
已启用问题?
问题数28
打开的问题数12
拉请求数6
打开的拉请求数1
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?