This might seem like a silly question but I'm trying to create a simple stacked bar chart (exactly the same as the one on the google charts "stacked bar charts" example), however, the option isStacked: true doesn't seem to do anything:
<html>
<head>
<script type="text/javascript">
google.load("visualization", "1.1", {packages:["bar"]});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Genre', 'Fantasy & Sci Fi', 'Romance', 'Mystery/Crime', 'General',
'Western', 'Literature', { role: 'annotation' } ],
['2010', 10, 24, 20, 32, 18, 5, ''],
['2020', 16, 22, 23, 30, 16, 9, ''],
['2030', 28, 19, 29, 30, 12, 13, '']
]);
var options = {
width: 600,
height: 400,
legend: { position: 'top', maxLines: 3 },
bar: { groupWidth: '75%' },
isStacked: true
};
var chart = new google.charts.Bar(document.getElementById('barchart_stacked'));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="barchart_stacked" style="width: 900px; height: 500px;"></div>
</body>
</html>