Hi,
I'm seeing a problem where some instances of Annotated Timeline will
hang on loading, and the Flash plugin will prompt me to stop the
script.

It seems to happen when all the values in my data set are 0.

Has anyone else seen this?

Thanks,
Mal



    google.load("visualization", "1", {packages:
["annotatedtimeline"]});
    google.setOnLoadCallback(drawChart);
    function drawChart(){
      var data = new google.visualization.DataTable();
      data.addColumn('date', 'Date');
                        data.addColumn('number', 'Opt Ins');
                        data.addColumn('number', 'Opt Outs');
                        data.addRows(368);
                        data.setValue(0, 0, new Date(2008, 1, 20));
                        data.setValue(0, 1, 0);
                        data.setValue(0, 2, 0);
                        data.setValue(1, 0, new Date(2008, 1, 21));
                        data.setValue(1, 1, 0);
                        data.setValue(1, 2, 0);
                        // ..snip..
                        ata.setValue(364, 0, new Date(2009, 1, 17));
                        data.setValue(364, 1, 0);
                        data.setValue(364, 2, 0);
                        data.setValue(365, 0, new Date(2009, 1, 18));
                        data.setValue(365, 1, 0);
                        data.setValue(365, 2, 0);
                        data.setValue(366, 0, new Date(2009, 1, 19));
                        data.setValue(366, 1, 0);
                        data.setValue(366, 2, 0);
                        data.setValue(367, 0, new Date(2009, 1, 19));
                        data.setValue(367, 1, 0);
                        data.setValue(367, 2, 0);

var chart = new google.visualization.AnnotatedTimeLine
(document.getElementById('volume_graph'));
chart.draw(data, {scaleType: "maximize"});
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to