Hi, Though the following is not the best sample to find the error, but I managed to replicate the same issue I'm having with my current app.
Go to, http://code.google.com/apis/ajax/playground/?type=visualization Choose anything from the left. I would recommend Annotated Timeline though. Then add the following on top, > google.load('visualization', '1', {packages:['timeline']}); > and replace, > var annotatedtimeline = new google.visualization.AnnotatedTimeLine( > with > var annotatedtimeline = new google.visualization.Timeline( > Open Firefox error console (or any browser that allows that). Run the code. Note that the following appears in the javascript error, -- > [14:00:46.835] ReferenceError: Dygraph is not defined @ > http://www.google.com/uds/api/visualization/1.0/01bfd211c0a350e1b7454e7b4342565b/format+en,default,annotatedtimeline+en_US.I.js:546 > [14:00:47.139] TypeError: google.visualization.Timeline is not a > constructor @ > http://savedbythegoog.appspot.com/retrieve_cache?unique_id=0f5cc6ce945d8820ebbc1737c67bea251e329f10:39 > On Wednesday, 25 September 2013 12:11:24 UTC+8, asgallant wrote: > > I can't replicate the problem. Can you post a link to a page or a > jsfiddle that demonstrates the problem? > > On Tuesday, September 24, 2013 10:53:44 PM UTC-4, Nicholas Poh wrote: >> >> Hi, >> >> When I tried to load the timeline package with the following line, >> >>> google.load('visualization', '1', {packages:['timeline']}); >>> >> >> I'm getting error, >> >>> ReferenceError: Dygraph is not defined @ >>> https://www.google.com/uds/api/visualization/1.0/01bfd211c0a350e1b7454e7b4342565b/format+en,default,table.I.js:494 >>> >> >> Thus executing the following line, >> >>> new google.visualization.Timeline (...) >>> >> >> gives me, >> >>> TypeError: google.visualization.Timeline is not a constructor >>> >> >> This started today. >> >> Thanks. >> > -- 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.
