Thanks I used event handlers. It worked perfectly.

Thanks again!

On Friday, August 1, 2014 5:57:14 PM UTC-7, Andrew Gallant wrote:
>
> This is caused by drawing the chart inside a hidden div, which breaks the 
> Visualization API's internal dimension detection algorithms.  There are two 
> solutions you can implement: either draw all of your charts before 
> initializing your tabs, or use event handlers for the tab events to draw 
> each chart the first time its container tab is opened.
>
> On Friday, August 1, 2014 5:58:25 PM UTC-4, Avinash wrote:
>>
>> Hello all,
>>
>> I am trying to use jquery tabs in conjunction with the Treemap chart.
>>
>> I have a page with two tabs and a chart in each tab.
>>
>>
>> On the first tab all is as expected.
>> However on the second tab (B) the chart (B) doesn't scale to fit the 
>> window as it chart (A) did in tab (A)
>>
>> Here is an example.
>> http://jsfiddle.net/RpeE7/
>>
>> Any help would be greatly appreciated!
>>
>> Thanks,
>>
>> Avinash.
>>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to