If the size is specified on the div's style, rather than in the chart
options, you won't even need to change anything in the chart options (since
the size isn't specified there). Just redraw with the same options and the
chart will grab the new size from the div.

On Thu, Apr 26, 2012 at 6:32 PM, asgallant <[email protected]>wrote:

> When you resize the div, you'll have to grab it's new height and width
> parameters, set those in the chart's options, and redraw the chart.
>
>
> On Thursday, April 26, 2012 5:49:16 AM UTC-4, BSTOKE wrote:
>>
>> Hi
>>
>> I am a complete newbie so please be gentle!!!
>>
>> How do you get a chart to resize when you resize a <div>?
>>
>> A simple snippet of code would be great!
>
>  --
> 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/-/b3fPrg77l04J.
>
> 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.
>

-- 
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.

Reply via email to