5
我對谷歌圖表比較新,所以請原諒我的無知;更改面積圖的填充和描邊顏色?
我正在查看面積圖,我想更改填充和描邊顏色。這裏是代碼...
<!--
You are free to copy and use this sample in accordance with the terms of the
Apache license (http://www.apache.org/licenses/LICENSE-2.0.html)
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>
Google Visualization API Sample
</title>
<script type="text/javascript" src="//www.google.com/jsapi"></script>
<script type="text/javascript">
google.load('visualization', '1', {packages: ['corechart']});
</script>
<script type="text/javascript">
function drawVisualization() {
// Some raw data (not necessarily accurate)
var data = google.visualization.arrayToDataTable([
['Month', 'Target'],
['JAN', 85],
['FEB', 105],
['MAR', 65],
['APR', 45],
['MAY', 45],
['JUN', 15],
['JUL', 60]
]);
// Create and draw the visualization.
var ac = new google.visualization.AreaChart(document.getElementById('visualization'));
ac.draw(data, {
title : '',
isStacked: true,
width: 600,
height: 400,
vAxis: {title: "Millions"},
hAxis: {title: "Month"}
});
}
google.setOnLoadCallback(drawVisualization);
</script>
</head>
<body style="font-family: Arial;border: 0 none;">
<div id="visualization" style="width: 600px; height: 400px;"></div>
</body>
</html>
我的問題的另一部分是,我在哪裏可以找到定製谷歌圖表的完整參考?
謝謝,