It works almost exactly the same way, except you change the visualization
package loaded:
google.load('visualization', '1', {'packages':['annotatedtimeline']});
the chart type:
var chart = new
google.visualization.AnnotatedTimeLine(document.getElementById('chart_div'));
and explicitly set the chart div's height and width:
<div id='chart_div' style='width: 700px; height: 240px;'></div>
The chart options are different as well, but as far as loading data is
concerned, it works the same.
--
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/-/kRgNFFAPTEUJ.
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.