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