5
高图表不适用于Chrome浏览器,而相同的图表在Firefox上运行良好。当我在Firefox中打开它,但它表现出上面提到的错误,当我在IE和Chrome打开它由铬Highchart不适用于Chrome浏览器
Uncaught TypeError: Cannot read property 'opacity' of undefined highcharts.js:24
Uncaught TypeError: Cannot read property 'prototype' of undefined exporting.js:9
Uncaught TypeError: Object #<Object> has no method 'highcharts' read_csv.php:67
这种高图表所示
function display()
{
$(function() {
$('#container1').highcharts({
chart: {
type: 'bar'
},
title: {
text: 'Showing Requested,Processed and Relayed status on '
},
subtitle: {
text: 'Domain wise Break Down'
},
xAxis: {
categories: ['Gmail', 'Yahoo', 'Rediff', 'Hotmail', 'Others'],
title: {
text: null
}
},
yAxis: {
min: 0,
title: {
text: 'Request/Relay Status',
align: 'high'
},
labels: {
overflow: 'justify'
}
},
//tooltip: {
// valueSuffix: ' millions'
//},
plotOptions: {
bar: {
dataLabels: {
// enabled: true
}
}
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'top',
x: -40,
y: 100,
floating: true,
borderWidth: 1,
backgroundColor: '#FFFFFF',
shadow: true
},
credits: {
enabled: false
},
series: [{
name: 'Relayed',
data: [c111,c222,c333,c444,c555]
}, {
name: 'Processed',
data: [c666,c777,c888,c999,c100]
}, {
name: 'Requested',
data: [c110,c120,c130,c140,c150]
}]
});
});
}
</script>
错误工作正常。请建议我如何克服这些错误。
如果您有链接,请在此处张贴。 – devo
我刚刚重新检查,发现没有多次加载jQuery .... ....没有兄弟我在本地环境工作,所以没有链接的那 –
jQuery的哪个版本? – devo