*Sergey Grabkovsky*,

I leave here the code to those who need it most. Thanks again for the help.

*Code*

<html>
<head>
    <script type="text/javascript" 
src="https://www.google.com/jsapi";></script>
  <script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
["Name", "Total Hours" ],
["Leandro Godek", [3,5,1]],
["Marcelo Rosa", [2,10,5]],
["Luiz Felipe", [2,50,3]]
]);
 var view = new google.visualization.DataView(data);

view.setColumns([0, 1, { calc:"stringify", sourceColumn:1, type:"string", 
role:"annotation" } ]);
 var options = { title:"Working Time", width:600, height:400, 
bar:{groupWidth:"95%"}, legend:{position:"none" }, };

var chart = new 
google.visualization.ColumnChart(document.getElementById("columnchart_values"));

chart.draw(view, options);
}
    </script>
</head>
<body>
<div id="columnchart_values" style="width: 900px; height: 300px;"></div>
</body>
</html>

*Result*

<https://lh4.googleusercontent.com/-4OHjGTV6GLM/VCFd6GO6zRI/AAAAAAAAAAw/tBNNBvRTJm0/s1600/exemplo.jpg>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to