We have tried it here again, and all looks good. Can you send a code sample, and more important - the exact details and OS of the browser you are using?
Regards, VizGuy On Mon, Mar 2, 2009 at 11:07 PM, Mark Bao <[email protected]> wrote: > > Having a problem with the Annotated Timeline API. > > Error in Safari: > Error: Container width is zero. Expecting a valid width. > default,annotatedtimeline+en.I.js (line 257) > > Detailed error in Firefox: > [Exception... "'Error: Container width is zero. Expecting a valid > width.' when calling method: [nsIDOMEventListener::handleEvent]" > nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: > "<unknown>" data: no] > > However, the element specifically declares the style: > > <div id="items_chart_delta" style="width: 900px; height: 300px;"></ > div> > > And: > > >>> document.getElementById('items_chart_delta').style.width > "900px" > > Not only that, but I've tried replacing with styles with a class, > putting the ID after the style, putting the ID after the class, using > the Rails plugin to get this working, and all that. Nothing worked. > > Strange thing is, if I refresh this 20 or 30 times, it works once. > > Not sure what's going on. Anyone know? > > Thanks, > Mark > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
