2015-06-14 77 views
1
  1. 负荷的jQuery
  2. 负载Highcharts 4.0.1
  3. 负载Highmaps 1.1.6(这说,这是与4.0.x版兼容)

看到此错误:Highcharts错误加载地图插件

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> 

小提琴:http://jsfiddle.net/93ukkqoh/(在javascript控制台中查看错误)

我在这里丢失了一些明显的东西吗?

+0

的小提琴是空的? –

+0

我正在加载外部库,请参阅javascript控制台中的错误 – dylanjha

+0

对不起,它在地图模块描述中看起来像一个错误。地图模块v1.1.6与Highcharts v4.1.6兼容。 –

回答

2

使用以下库按以下顺序

<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>