function drawVisualization() {
// Create and populate the data table.
var data = google.visualization.arrayToDataTable([
['Fiscal Year', 'Planned', 'Actual', 'Anticipated'],
['FY12', 42, 938, 60],
['FY13', 135, 1120, 955]
]);
// Create and draw the visualization.
var ac = new google.visualization.ComboChart(document.getElementById('visualization'));
ac.draw(data, {
title : 'SITES',
width: 600,
height: 400,
vAxis: {title: "Number of Sites"},
hAxis: {title: ""},
seriesType: "bars",
series: {5: {type: "line"},
isStacked:true}
});
}
¿
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
See this fiddle that i modified from yours:
Giannis