node-echarts 案例 运行:node xxxx.js 注意安装canvas时,运行 npm install canvas@next,1.x版本有些API没有,要装Alpha 2.0版本。 博客:https://segmentfault.com/a/1190000013936186