Uncaught TypeError: $(...).highcharts is not a function
解决方法:
$('#container').highcharts({
colors: ["#7cb5ec", "#f7a35c"],
chart: {
type: 'column'
},
/* ... */
var chart = new Highcharts.Chart({
colors: ["#7cb5ec", "#f7a35c"],
chart: {
type: 'column',
renderTo: 'container'
},
/* ... */
使用
var chart = new Highcharts.Chart({取代
$('#container').highcharts({方式