我正在为饼图使用 highcharts。IE7 中的脚本有问题:
SCRIPT5007: Unable to get value of the property '0': object is null or undefined
highcharts.js, line 10 character 3841
这是脚本中的代码行:
if(typeof a[0]==="number")
this.x=a[0],this.y=a[1];
else if(d==="object"&&typeof a.length!=="number") {
if(u(this,a),this.options=a,a.dataLabels)c._hasPointLabels=!0
}
else if(typeof a[0]==="string")
this.name=a[0],this.y=a[1];
我该如何解决这个问题?