0
我從網上覆制和粘貼代碼,但仍然沒有顯示在我的瀏覽器中。我是新來的編碼,我正在尋求一些幫助!Highcharts,Javascript
<!DOCTYPE html>
<html>
<head>
<!-- DEV -->
<script src="jquery-1.11.1.min.js"></script>
<script scr="highcharts.js"></script>
<script src="highcharts-more.js"></script>
<!-- /DEV -->
<title>highcharts</title>
<script>
$(function() {
$('#container').highcharts({
chart: {
type: 'bar'
},
title: {
text: 'Fruit Consumption'
},
xAxis: {
categories: ['Apples', 'Bananas', 'Oranges']
},
yAxis: {
title: {
text: 'Fruit eaten'
}
},
series: [{
name: 'Jane',
data: [1, 0, 4]
}, {
name: 'John',
data: [5, 7, 3]
}]
});
});
</script>
</head>
<body>
<div id="container" style="width: 600px; height: 400px;"></div>
</body>
</html>
我在做什麼錯?
你也複製了addentional'* .js'文件到硬盤? – 2014-12-05 08:19:57