Bom dia,
<script type="text/javascript" src="//www.google.com/jsapi"></script>
> <script type="text/javascript">
> google.load('visualization', '1', {packages: ['corechart']});
> </script>
> <script type="text/javascript" charset="utf-8">
> function drawVisualization() {
> // Create and populate the data table.
> var data = google.visualization.arrayToDataTable([
> ['Equipes', 'Abertos', 'Fechados'],
> ['Agnelo', 30, 22],
> ['Angelo', 40, 55],
> ['Bruna', 80, 78],
> ['João', 50, 45],
> ['Rafael', 40, 19]
> ]);
>
> // Create and draw the visualization.
> new
> google.visualization.ColumnChart(document.getElementById('visualization')).
> draw(data,
> {title:"Relatório de Chamados Abertos x Fechados",
> width:600, height:400,
> hAxis: {title: "Equipes"}}
> );
> }
>
> google.setOnLoadCallback(drawVisualization);
Precisava colocar campos no lugar dos valores.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.