The gauges support animation as is, no need to bring in jQuery to handle 
it.  Just feed the chart new data and it auto-animates when you redraw.

On Tuesday, August 20, 2013 7:16:42 PM UTC-4, Enno Davids wrote:
>
> I'm using a gauge object and have run into the situation where the range 
> I'm using is being exceeded. This is easy enough to fix by basically 
> setting new values for the min and pax properties prior to calling the draw 
> method on the object. The result of course sees the whole scale jump shift 
> from the old values to the new values, which can be visually a little 
> disconcerting till you realise what happened.
>
> So, my idea is ti use the jquery animate() method to smoothly transition 
> from the old range to the new one. Given that animate wants to deal with 
> CSS/DOM attributes there will be a little faking it (a la 
> http://www.bennadel.com/blog/1856-Using-jQuery-s-Animate-Step-Callback-Function-To-Create-Custom-Animations.htm)
>  
> with a custom step function, but I'm thinking it's doable with a modest 
> amount of code.
>
> So, my question is if anyone else has attempted this or something like it 
> already, or indeed if there was some option I missed that does this 
> natively.
>
>
> Cheers,
>
> E.
>
>

-- 
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/groups/opt_out.

Reply via email to