Baidu Echarts Report rendering component, pretty good one component
Official website: http://echarts.baidu.com/Download echarts
Http://echarts.baidu.com/download.html
You can choose to download or customize all the JS packages you need
Introduction of Echarts
Echarts 3 is no longer forced to use AMD on demand, and the AMD loader is no longer built into the code. So the introduction is a lot simpler, just like the normal JavaScript library with the script tag introduced.
<! DOCTYPE html>
Draw a simple chart
Before drawing, we need to prepare a DOM container with a high width for echarts.
<body>
<!--prepare a DOM-->
<div id= "main" style= "width:600px;height:400px" for echarts with size (width); ></div>
</body>
You can then initialize a Echarts instance through the Echarts.init method and generate a simple histogram from the SetOption method, with the full code below.
<! DOCTYPE html>
So your first chart is born.
Echarts Tutorial: http://echarts.baidu.com/tutorial.html
Api:http://echarts.baidu.com/api.html
Instance demo:http://echarts.baidu.com/examples.html