You are close.  Use data.setValue(0, 1, dir) as views are read-only.

On Monday, June 25, 2012 6:14:31 AM UTC-4, Denonth wrote:
>
> Thank you for your solution, one more question. 
> How can I write functions to animate gauges? For example is this correct 
> function?
>
> function change(dir) 
> {
>            views[0].setValue(0, 1, dir);
>           charts[0].draw(views[0], options[0]);
> }
>
>
> Thank you
>
>
>
>
> On Tuesday, June 19, 2012 5:48:48 PM UTC+2, Denonth wrote:
>>
>> Hi all I am having this problem.
>>
>> I am using google gauge and I am setting my size of it in the inline html 
>> tag. I ahve a problem when I am showing or hiding a gauge's. When it shows 
>> again it's probbably refreshed and it has his default size which is too big 
>> for me. 
>>
>> This is my code I could really use some help:
>>
>> http://jsfiddle.net/Denonth/NdRx8/
>>
>> Thank you
>>
>

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