## What is highcharts?
The official explanation is:
> simple, fast, pure JavaScript interactive graphics.
Highcharts base on native browser technologies,no plugins needed.It support line,spline,area,areaspline,column,bar,pie,scatter,angular,gauges,arearange,areasplinerange,columnrange and polar chart.You can add,remove and modify series and points or modify axes on modern browsers including mobile,tablets and old IE back to IE6 because it’s very compatible,And if you just use it yourself for study you don’t need permission.
Hexo-highcharts
Hexo-highcharts is a small plugin I wrote base on the hexo tag plugin extension documention,which can easily add dynamic charts to hexo,the plugin has been published to npm and can be installed and used directly,If you have a better idea please email to me or pull request on Github,Thanks.
How to use?
1.install plugin
1 2
# cd hexo blog folder npm install hexo-highcharts --save
85% is chart width,400 is chart height,You can not set it, it will use the default Settings,The tag wraps the options of HighCharts,if you dont’t know how to set options, you can go to the official website of Highcharts to learn how to set it.
3.use external data
if you have a lot of data,you can put it in an external json file or import it throw API,but data format must follow the highcharts series format.