2015-06-14 79 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>