Not only unhide the div. I was loading a chart using AJAX into a DIV, and it worked... but suddenly it begun to fail. I think it is due the browsers...
My solution was using a setTimeout with 100 msecs of timeout... and it works again... but it is weird anyway... On Wednesday, October 19, 2011 6:49:07 PM UTC+2, asgallant wrote: > > There are a number of errors that crop up when drawing the chart in a > hidden div. I'm not sure whether they are Google's fault or an issue with > the way browsers render SVG. The end route around the problem is to unhide > the div just prior to drawing, and hook the chart's ready event to hide the > div when it has finished. In practice, the drawing time for charts is so > quick that this is completely transparent to the user. -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/d_99p5Pmil8J. 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.
