Fading in amcharts (startAlpha without startEffect)

Viewed 589

I am trying to get charts to fade in without having them bounce in, or come in elastically, etc.

From the docs, it says that elastic is the default animation type. I tried blank, or "none". Those crash amcharts.

See the following fiddle: https://jsfiddle.net/tegnu71s/

var chart = AmCharts.makeChart( "chartdiv", {
"type": "pie",
"theme": "light",
 startDuration:"10",
 startEffect:"elastic",
 startAlpha:0,
"dataProvider": [ {
"country": "Lithuania",
"litres": 501.9
 }, {
"country": "Czech Republic",
"litres": 301.9
} ],
"valueField": "litres",
"titleField": "country",
 "balloon":{
 "fixedPosition":true
},
"export": {
  "enabled": true
}
} );

Is this possible, and if so, how?

1 Answers
Related