아래 스크립트가 있습니다. 2006 년 데이터를 렌더링하지 않습니다. 스크립트에 문제가 있습니까?Google 차트 - 행 렌더링 실패
<html>
<head>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", { packages: ["corechart"] });
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Year');
data.addColumn('number', 'Afghanistan');
data.addColumn('number', 'India');
data.addRow(["1993", null, 61.9]);
data.addRow(["1999", null, 65.1]);
data.addRow(["2000", 36.9, 61.8]);
data.addRow(["2003", 16.1, null]);
data.addRow(["2006", null, 74.2]);
new google.visualization.AreaChart(document.getElementById('chart_div')).draw(data, {
curveType: "function"
, width: 768, height: 908
, title: 'Target 5.B: Achieve, by 2015, universal access to reproductive health. Antenatal care coverage, at least 1 visit.'
, vAxis: { title: 'Percent' }
});
}
</script>
</head>
<body>
<div id='chart_div'></div>
</body>
</html>