I also have this issue. i am using gxt (tried both version 1.2.3 and 2.0): i have a div in html. i then add a gxt layoutcontainer to the div, then add a contentpanel to the layoutcontainer, then add the annotated timeline to the contentpanel. and i get the 0 width error, with only a blank area where the chart would be.
if i use gwt (version 1.6), and do something similar: add a flowpanel to the div, then add the timeline to the flowpanel, then i can see the timeline and there are no problems. at the moment, my work around is to use gxt panels (for the nice ui), but instead of having them wrap the timeline, i have them wrap a frame that then contains the timeline. this is only a very temporary solution, so any help would be greatly appreciated!! On Apr 14, 1:38 pm, Techboy <[email protected]> wrote: > I've got the same issue on our site as well. Every 20 or 30 refreshes > gets the chart rendered but rest of the time, blank. > > Any updates to this thread? > > On Mar 18, 2:51 am, VizBoy <[email protected]> wrote: > > > Hi, > > > The link to the javascript code Google sends you isn't helpful :) > > I need a link or the source code of your html/javascript, to help you debug. > > > Unfortunately, there is no non-minified version of jsapi available. > > > - VizBoy. > > > On Tue, Mar 17, 2009 at 8:40 PM, pox <[email protected]> wrote: > > > > i get the same error when using the visu-app in combination with extjs > > > >Container width is zero. Expecting a valid width. > > > >http://www.google.com/uds/api/visualization/1.0/ca77c254a941d45f12eb3... > > > Line 395 > > > > is there a debugging jsapi available (not minified?) or do you have > > > any idea, why this error occurs? it doesnt break the app, but its just > > > not nice to get errors thrown ;) > > > > best > > > > On 8 Mrz., 08:14, VizBoy <[email protected]> wrote: > > > > A link or a code snippet would be helpful. > > > > > - VizBoy. > > > > > On Thu, Mar 5, 2009 at 4:41 AM, Ted <[email protected]> wrote: > > > > > > I installed Gadgets of Google Document in my blogspot about mid-Feb, 6 > > > > > "Interactive Time Series Chart" work well, but 2 "Table" none-display. > > > > > My browsers are: > > > > > > Chrome: None-display > > > > > FF 2.0: Workable > > > > > IE 7.0: > > > > > Error message 1: "Container width is zero. Expecting a valid width" > > > > > Error message 2: "No relay file assigned for IFPC" > > > > > > Chrome is the default browser, the Gadgets worked well at the > > > > > beginning, but struck two days ago. No idea yet! > > > > > > FF 2.0 is ok, but IE 7.0 and Chrome > > > > > > On Mar 4, 11:35 pm, VizGuy <[email protected]> wrote: > > > > > > 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 -~----------~----~----~----~------~----~------~--~---
