Your options seem fine. In order for the animation to work you need to have a change over time. Step 1 would be to draw a chart, and then, probably after user interaction or a timeout, draw the chart again with different data.
If this tip doesn't help, please send the complete code, and I'll look into it. On Fri, Mar 16, 2012 at 7:13 PM, Will Crowthers <[email protected]>wrote: > Hi All, > > I am implementing my first Google Chart and I would like to use the > Transition Animation feature. > > I have setup my options with the following and although the other > options all function as expected, the animation does not work. Any > tips? Am I missing an include? > > // Set chart options > var options = {legend:{position: 'bottom', > textStyle: > {color: 'black', fontSize: 12}}, > chartArea:{left:40,top: > 20,width:"600",height:"250"}, > width: 620, > height: 370, > pointSize:5, > animation:{ > duration: 1000, > easing: 'out' > } > }; > > Thank you, > Will > > -- > 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. > > -- 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.
