Dude I'm with problem I can not put minutes apart and did not want to put
full minutes and it has no space p appears in the graph and its leaves are
short hours eg if and 00:00 to 06:00 or 00:00 0:00:00, 0:30, 1:00, 1:30 ... and
if it is 00:00 to 23:59 and its leaves 00:00, 01:00, 02:00, 03:00 to 23:00?
because not getting to ride and saw site said he has to take quote and will
work from there I lay there and then gave error is there and how to help or try
to fix the google chart or passes example here .. I am grateful.
<html>
<head>
<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Hora', 'Consumo', 'Corrente'],
['00:00:00', 2, 2],
['00:00:05', 9, 5],
['00:00:10', 2, 7],
['00:00:15', 2, 2],
['00:00:20', 9, 5],
['00:00:25', 2, 7],
['00:00:30', 2, 2],
['00:00:35', 9, 5],
['00:00:40', 2, 7],
['00:00:45', 2, 2],
['00:00:50', 9, 5],
['00:00:55', 2, 7],
['00:01:00', 2, 2],
['00:01:05', 9, 5],
['00:01:10', 2, 7],
['00:01:15', 2, 2],
['00:01:20', 9, 5],
['00:01:25', 2, 7],
['00:01:30', 2, 2],
['00:01:35', 9, 5],
['00:01:40', 2, 7],
['00:01:45', 2, 2],
['00:01:50', 9, 5],
['00:01:55', 2, 7],
['00:02:00', 2, 2],
['00:02:05', 9, 5],
['00:02:10', 2, 7],
['00:02:15', 2, 2],
['00:02:20', 9, 5],
['00:02:25', 2, 7],
['00:02:30', 2, 2],
['00:02:35', 9, 5],
['00:02:40', 2, 7],
['00:02:45', 2, 2],
['00:02:50', 9, 5],
['00:02:55', 2, 7],
['00:03:00', 2, 2],
['00:03:05', 9, 5],
['00:03:10', 2, 7],
['00:03:15', 2, 2],
['00:03:20', 9, 5],
['00:03:25', 2, 7],
['00:03:30', 2, 2],
['00:03:35', 9, 5],
['00:03:40', 2, 7],
['00:03:45', 2, 2],
['00:03:50', 9, 5],
['00:03:55', 2, 7],
['00:04:00', 2, 2],
['00:04:05', 9, 5],
['00:04:10', 2, 7],
['00:04:15', 2, 2],
['00:04:20', 9, 5],
['00:04:25', 2, 7],
['00:04:30', 2, 2],
['00:04:35', 9, 5],
['00:04:40', 2, 7],
['00:04:45', 2, 2],
['00:04:50', 9, 5],
['00:04:55', 2, 7],
['00:05:00', 2, 2],
['00:05:05', 9, 5],
['00:05:10', 2, 7],
['00:05:15', 2, 2],
['00:05:20', 9, 5],
['00:05:25', 2, 7],
['00:05:30', 2, 2],
['00:05:35', 9, 5],
['00:05:40', 2, 7],
['00:05:45', 2, 2],
['00:05:50', 9, 5],
['00:05:55', 2, 7],
['00:06:00', 1, 3]
]);
var options = {
title: 'Fluxos',
hAxis: {title: 'Hora', titleTextStyle: {color: 'red'}}
};
var chart = new
google.visualization.AreaChart(document.getElementById('chart_div'));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="chart_div" style="width: 900px; height: 200px;"></div>
</body>
<script type="text/javascript">
google.load("visualization", "1", {packages: ["corechart"]});
google.setOnLoadCallback(drawChart);
</script>
</html>
--
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.