i have a problem with stacked bar Chart which is not working properly. the bars are being displayed vertically and not-stacked also.
google.load("visualization", "1.1", { packages: ["bar"] });
google.load("visualization", "1", { packages: ["corechart"] });
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_stacked = {
isStacked: true,
height: 300,
legend: { position: 'top', maxLines: 3 },
hAxis: { minValue: 0 }
};
var chart = new google.charts.Bar(document.getElementById('myChart'));
chart.draw(data, options_stacked);