Highcharts 错误加载地图插件
Highcharts error loading maps plugin
- 加载jQuery
- 加载 Highcharts 4.0.1
- 加载 Highmaps 1.1.6(表示兼容 4.0.x)
看到这个错误:
Uncaught TypeError: HighchartsAdapter.addAnimSetter is not a function
===
<html>
<head>
<script type='text/javascript' src='https://code.jquery.com/jquery-1.11.2.min.js'></script>
<script type='text/javascript' src='https://code.highcharts.com/4.0.1/highcharts.js'></script>
<script type='text/javascript' src='https://code.highcharts.com/maps/1.1.6/modules/map.js'></script>
</head>
</html>
fiddle:http://jsfiddle.net/93ukkqoh/(查看 javascript 控制台中的错误)
我是不是遗漏了什么明显的东西?
按以下顺序使用以下库
<script type='text/javascript' src='https://code.jquery.com/jquery-1.11.2.min.js'></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script type='text/javascript' src='https://code.highcharts.com/maps/1.1.6/modules/map.js'></script>
- 加载jQuery
- 加载 Highcharts 4.0.1
- 加载 Highmaps 1.1.6(表示兼容 4.0.x)
看到这个错误:
Uncaught TypeError: HighchartsAdapter.addAnimSetter is not a function
===
<html>
<head>
<script type='text/javascript' src='https://code.jquery.com/jquery-1.11.2.min.js'></script>
<script type='text/javascript' src='https://code.highcharts.com/4.0.1/highcharts.js'></script>
<script type='text/javascript' src='https://code.highcharts.com/maps/1.1.6/modules/map.js'></script>
</head>
</html>
fiddle:http://jsfiddle.net/93ukkqoh/(查看 javascript 控制台中的错误)
我是不是遗漏了什么明显的东西?
按以下顺序使用以下库
<script type='text/javascript' src='https://code.jquery.com/jquery-1.11.2.min.js'></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script type='text/javascript' src='https://code.highcharts.com/maps/1.1.6/modules/map.js'></script>