Home > Web Front-end > JS Tutorial > body text

How to download China map in .js file format with Echarts

零到壹度
Release: 2018-04-21 11:27:44
Original
5488 people have browsed it

The content of this article is about how Echarts downloads the China map in .js file format. It has certain reference value. Now I share it with you. Friends in need can refer to it

When using the China map of Echarts in the morning, you need to use the china.js file, but the official map js download of Echarts has been suspended for download. After searching, there is the following link to download:
1.Github Address: https://github.com/apache/incubator-echarts

2. Baidu cloud network disk (please leave a message if it fails and I will update it as soon as possible):
Link: https://pan.baidu.com/s/1j_edGU2ka9YeHBTErqDWdg Password: ft9n

After downloading, you need to introduce the link in html or jsp as follows:

  <script type="text/javascript" src="echarts/china.js"></script>
Copy after login

Finally The effect is as follows:
How to download China map in .js file format with Echarts

Let’s talk about the theme of the map again. You can also go to the official website to download the js file. If you download the shine theme, the following code is introduced:

<script type="text/javascript" src="echarts/shine.js"></script>
Copy after login
.........
     var myChart = echarts.init(document.getElementById(&#39;main&#39;),&#39;shine&#39;);.........
Copy after login

​​​

Related recommendations:

##How to use echarts.js

##Baidu The use of Echarts chart JS plug-in

ECharts usage experience

The above is the detailed content of How to download China map in .js file format with Echarts. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!