highcharts 插件问题

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({方式
上一篇:Unity3D在WebPlayer模式下的异常上报探索


下一篇:ZOJ 4009 And Another Data Structure Problem(ZOJ Monthly, March 2018 Problem F,发现循环节 + 线段树 + 永久标记)