function drawVisualization() {
// Some raw data (not necessarily accurate)
var rowData = [['Month', 'Bolivia', 'Bolivia Line'],
['2004/05', 165, 165],
['2005/06', 135, 135],
['2006/07', 157, 157],
['2007/08', 139, 139],
['2008/09', 136, 136]];
// Create and populate the data table.
var data = google.visualization.arrayToDataTable(rowData);
// Create and draw the visualization.
var ac = new google.visualization.ComboChart(document.getElementById('visualization'));
ac.draw(data, {
title : 'Monthly Coffee Production by Country',
width: 600,
height: 400,
vAxis: {title: "Cups"},
hAxis: {title: "Month"},
seriesType: "bars",
series: {1: {type: "line"}}
});
}
Enjoy,
Roni