I have the Code:
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script><scripttype="text/javascript">
google.charts.load('current', {'packages':['bar']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Ano', 'Total', 'Mestrado', 'Doutorado'],
['2014', 1000, 400, 200],
['2015', 1170, 460, 250],
['2016', 660, 120, 300],
['2017', 1030, 540, 350]
]);
var options = {
chart: {
title: 'Mestrados e Doutorados do IG',
subtitle: 'Total, Mestrados e Doutorados',
},
bars: 'horizontal'
};
var chart = new google.charts.Bar(document.getElementById('barchart_material'));
chart.draw(data, options);
}
</script>
And it's with the White Background, wanted to switch to #EEE color. I already tried backgroundColor: '#EEE'
in the options, but with this graph it was not (I got it with Pie).