you need to set the height and width in the chart options as well as the 
div ideally they should match. 



On Thursday, September 13, 2012 4:58:13 PM UTC+10, Dani wrote:
>
> Why: I'm creating an interface where users can toggle between graphs.
>
> What: The issue, however, is that once I draw a column chart, and 
> immediately run a .hide() jquery method on the containing div for that 
> chart, when I do .show() on that same div, it shows up like this: (where 
> the chart area is super small and shows up at the top left corner of the 
> div)
>
>
> <https://lh3.googleusercontent.com/-dgxjJBqiNsc/UFGCRnUfNJI/AAAAAAAAACo/JW-LBqgorww/s1600/boo.png>
>
> But if I use the category picker and chart redraws itself, and the 
> width/height are correct. (below) I can theoretically draw the graph again 
> every time the div is "unhidden", but I feel like that'd be a lot of extra 
> drawing.
>
>
> <https://lh3.googleusercontent.com/-msv0qwMI5kk/UFGDlNBFKRI/AAAAAAAAACw/zdTBHSfa7O0/s1600/yay.png>
>
>
> Does anyone know what the problem is? What I perhaps am doing incorrectly? 
> Or even if there's a solution?
>
> Thanks!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to