Today in learning echarts practice, always in the configuration of the path error, as a primer, summed up, here to share to everyone, hope useful.
Echarts Home: http://echarts.baidu.com/index.html
Echarts-2.2.0:http://echarts.baidu.com/build/echarts-2.2.0.zip
Echarts Official Example: http://echarts.baidu.com/doc/example.html
Echarts Official API Document: Http://echarts.baidu.com/doc/doc.html
1. Project structure
js folder: After downloading the echarts, decompression, such as the root directory after decompression is echarts-2.2.0, then to Echarts-2.2.0\doc\example\www path, the inside of the JS folder directly copied and pasted into the project Webroot root directory
echarts.jsp: Create a new echarts.jsp under the Webroot root
<! DOCTYPE html>After completing the above steps, the project is published to the server, the browser access to echarts.jsp (because this instance has not yet interacted with the background, just first to do a foreground usage introduction, so you can change the echart.jsp directly into echarts.html file, Put it with the JS folder in the same level directory, and then directly open echarts.html with the browser, you can see the effect.
Summary of study on Echarts histogram (i.)