<html> <head> <script type='text/javascript' src='https://www.google.com/jsapi <view-source:https://www.google.com/jsapi>'></script><script type='text/javascript'>google.load('visualization', '1', {packages: ['corechart']});google.setOnLoadCallback(drawChart);function drawChart () { var data = new google.visualization.DataTable(); data.addColumn('string', 'heures'); data.addColumn('number', 'metric'); data.addRow(['0h', 5347);data.addRow(['1h', 3121);data.addRow(['2h', 2362);data.addRow(['3h', 1591);data.addRow(['4h', 1692);data.addRow(['5h', 2206);data.addRow(['6h', 4684);data.addRow(['7h', 10821);data.addRow(['8h', 19478);data.addRow(['9h', 22051); var options = { title: 'test', hAxis: {title: 'heures', titleTextStyle: {color: 'red'}} }; var chart = new google.visualization.BarChart('chart_div'); chart.draw(data, options);}</script> </head> <body> <div id="chart_div" style="width: 900px; height: 500px;"></div> </body></html>
-- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/bdpAvsJ_FN8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
