AmCharts.makeChart("chartDonut1",
{
"balloon": {
"fixedPosition": false
},
"balloonText": "[[title]]
[[value]] ([[percents]]%)",
"fontFamily": "Open Sans",
"innerRadius": "60",
"labelsEnabled": false,
"responsive": {
"enabled": true,
},
"marginBottom": 0,
"marginTop": 0,
"maxLabelWidth": 140,
"numberFormatter": {
"precision": 0,
"decimalSeparator": ".",
"thousandsSeparator": ","
},
"percentPrecision": 0,
"radius": 110,
"startDuration": 0,
"theme": "light",
"titleField": "Label",
"titles": [
{
"id": "Title-1",
"size": 15,
"text": "Projects by Goal and Type",
"color": "#555"
}
],
"type": "pie",
"valueField": "Value",
"gradientRatio": [
-0.4,
-0.4,
-0.4,
-0.4,
-0.4,
-0.4,
0,
0.1,
0.2,
0.1,
0,
-0.2,
-0.5
],
"dataProvider": [],
"total": 0,
"refresh": function (data) {
//alert(data);
}
}
);