highcharts官方提供的export server https://export.highcharts.com...node
nodejs的版本儘可能選擇最新的穩定版本git
git clone https://github.com/highcharts/node-export-server
npm install
npm link
github
highcharts-export-server --enableServer 1 --port 8881 --logLevel 4
npm建議採用forever的方式啓動
forever start -w ./bin/cli.js --enableServer 1 --port 8881 --logLevel 4 --killSignal SIGINT
segmentfault
啓動的過程當中若是報錯 /lib64/libz.so.1: no version information available,則須要更新libz的版本
,更新過程參考(http://blog.csdn.net/xanxng/a...)字體安裝系統上若是沒有合適的字體庫,導出的圖片將沒法顯示標題、x軸、y軸以及圖例,安裝字體能夠參考(https://segmentfault.com/a/11...).net
以官方提供的服務爲例code
Request URL:https://export.highcharts.com...
Request Method:POST
Content-Type: multipart/form-data
Request Payload: 參考(https://www.highcharts.com/do...)orm
https://www.highcharts.com/do...
https://github.com/highcharts...server