1
  1. 加载 jQuery
  2. 加载 Highcharts 4.0.1
  3. 加载 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>

小提琴: http: //jsfiddle.net/93ukkqoh/(请参阅 javascript 控制台中的错误)

我在这里遗漏了一些明显的东西吗?

4

1 回答 1

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>
于 2015-06-15T04:19:06.457 回答