845
| <![CDATA[<script type="text/javascript">
//google.load("visualization", "1.1", {packages:["bar"]});
google.setOnLoadCallback(drawChart2);
function drawChart2() {
var data = google.visualization.arrayToDataTable([
['Meses', 'Receita Orçada', 'Receita Executada', 'Despesa Orçada', 'Despesa Executada'],
['Jan', 0, 0, 158333, 132513],['Fev', 0, 0, 158333, 97603],['Mar', 0, 0, 158333, 148248],['Abr', 0, 0, 158333, 138002],['Mai', 0, 0, 158333, 139124],['Jun', 0, 0, 158333, 158165],['Jul', 0, 0, 158333, 137958],['Ago', 0, 0, 158333, 139213],['Set', 0, 0, 158333, 144033],['Out', 0, 0, 158333, 0],['Nov', 0, 0, 158333, 0],['Dez', 0, 0, 158333, 0],
]);
var options = {
// bars: 'horizontal',
// chart: {
// // title: 'Company Performance',
// // subtitle: 'Sales, Expenses, and Profit: 2014-2017',
// }
legend: { position: 'bottom' }
};
//var chart = new google.charts.Bar(document.getElementById('columnchart_material'));
var chart = new google.visualization.LineChart(document.getElementById('columnchart_material'));
chart.draw(data, options);
}
</script>]]>
|