There's no support for animating the initial draw, but since you have a 
function that can take a JSON string and draw a chart with it, why not 
initialize it with a JSON string for an empty chart, then update with data?

On Thursday, November 15, 2012 7:31:59 PM UTC-5, Cyle Hunter wrote:
>
> In my application I'm calling a function on page load that draws a 
> barchart from JSON data retrieved server-side. I'm trying to include a 
> transition effect on my barchart as it's initially drawn. Is the only way 
> to accomplish this to initialize the chart with an empty datatable, change 
> the datatable and redraw? It's a bit of an awkward solution for me as I 
> currently have a single function responsible for drawing any kind of chart 
> based on JSON data it receives & I would like to keep it as agnostic as 
> possible, I don't want to have to write individually scripts for each and 
> every one of my charts that get drawn to handle this. 
>
> Are there any unobtrusive solutions for drawing animations?
>
>
>

-- 
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/-/qsOD8D-53SkJ.
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