I'm using the annotatedtimeline / AnnotatedTimeLine API to produce a
timeline in an application I've developed.
I write a program dynamically that produces the timeline. An example of
the program that gets written follows. This program is executed in an
iframe.
<html>
<head>
<script type='text/javascript'
src='http://www.google.com/jsapi'></script>
<script type='text/javascript'>
google.load('visualization', '1',
{'packages':['annotatedtimeline']});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = new
google.visualization.DataTable();
data.addColumn('date', 'Date');
data.addColumn('number', 'State');
data.addColumn('string', 'title1');
data.addColumn('string', 'text1');
data.addRows([
[new Date(2003,6,1), 42.1, undefined, undefined],
[new Date(2004,0,15), 40.0,'Insurance For
All','The Universal Coverage Act of 2003 is proposed.'],
[new Date(2004,6,1), 40.0, undefined, undefined],
[new Date(2005,2,15), 32.9,'Insurance
Finally','The Universal Coverage Act of 2003 passes.'],
[new Date(2005,6,1), 32.9,'Funding Approved','The
Universal Coverage Act funding is allocated.'],
[new Date(2006,6,1), 33.3, undefined, undefined],
[new Date(2006,8,15), 33.3,'Funding Begins','The
Universal Coverage Act funding of 2003 begins.'],
[new Date(2007,6,1), 33.1, undefined, undefined],
[new Date(2008,6,1), 34.5, undefined, undefined],
[new Date(2009,6,1), 34.5, undefined, undefined],
[new Date(2010,6,1), 34.5, undefined, undefined],
[new Date(2011,6,1), 34.5, undefined, undefined],
[new Date(2012,6,1), 40.8, undefined, undefined],
[new Date(2013,6,1), 28.8, undefined, undefined],
[new Date(2014,6,1), 34.2, undefined, undefined]
]);
var chart = new
google.visualization.AnnotatedTimeLine(document.getElementById('chart_div'));
chart.draw(data, {displayAnnotations: true,
displayZoomButtons: false, allValuesSuffix: '%', fill: 40, thickness: 1,
colors: 1, displayRangeSelector: false});
}
</script>
</head>
<body>
<div id='chart_div' style='width: 800px; height:
380px;'></div>
</body>
</html>
The program that generates this code has worked for quite some time and has
not been changed. This timeline function has been working correctly for
at least a couple of years.
And it just stopped. The timeline events to the right of the time line
show up, but the timeline graph is not printed. This link will show what
happens. Execute it in IE.
http://steepusa.no-ip.info/scx/timeline.cgi?tlstr=SKY:o:Kentucky
Below is from Twitter about API availability. I don't know if the
userstream unavailability is a problem in this?
https://dev.twitter.com/status
Can anyone help???
Craigt
--
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/d/optout.