I'm having trouble with the datetime module.
Everything seems to be working fine, all the datapoints show at the
right times, but the date is listed as May 1st instead of March 31.
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('datetime', 'Date');
data.addColumn('number', 'Temperature');
data.addRows([ [new Date(2011,3,31,17,1,0,0),66.6] #
lots of other dates listed in this format
]);
var chart = new
google.visualization.AnnotatedTimeLine(document.getElementById('chart_div'));
chart.draw(data, {displayAnnotations: true});
}
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
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.