This is a known bug in the API: drawing charts inside a hidden div messes up the dimension checking algorithms. To solve this, you can either make all divs visible before drawing, and use "ready" event handlers for the charts to hide divs as appropriate, or you can set event handlers on whatever you are using to show and hide divs to draw each chart as its container is opened for the first time.
On Thursday, March 20, 2014 5:47:00 AM UTC-4, Sabrina Toulouse wrote: > > I forgot to say that i see the bug when i click a button which change the > visibility of a div, obviously ^^. When a not visible div becomes "display > : block", there's the bug > > > -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.