Hi,
i'am trying to set animation on my gauges charts. The chart are
correctly loaded and display but with no animation. Why? The code
looks correct...
Thank's to everybody
******
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Label');
data.addColumn('number', 'Value');
data.addRows([
['€', 80]
]);
var options = {
width: 500, height: 200, greenColor:'#DC3912',
redColor:'#109618',
redFrom: 60, redTo: 100, greenFrom:1, greenTo:40,
yellowFrom:40, yellowTo: 60, min:0,max:100,
minorTicks: 10,
animation:{
duration: 1000,
easing: 'linear',
}
};
var chart = new
google.visualization.Gauge(document.getElementById('divid'));
chart.draw(data, options);
}
******
--
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.