JavaScript
var columnChart = AmCharts.makeChart("chartdiv", {
"type": "serial",
"theme": "none",
"color": "#fff",
"creditsPosition": "bottom-right",
"dataProvider": [{
"country": "USA",
"visits": 20
}, {
"country": "China",
"visits": 15
}],
"valueAxes": [{
"gridColor":"#FFFFFF",
"gridAlpha": 0,
"dashLength": 0,
"labelsEnabled": false,
"axisAlpha": 0
}],
"gridAboveGraphs": true,
"startDuration": 1,
"graphs": [{
"balloonText": "[[category]]: <b>[[value]]</b>",
"labelText": "[[value]]",
"fontSize": 70,
"fillAlphas": 0.8,
"fillColors": ['#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#1fc072', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862', '#349862'],
"gradientOrientation": "horizontal",
"lineAlpha": 0.2,
"type": "column",
"valueField": "visits"
}],
"chartCursor": {
"categoryBalloonEnabled": false,
"cursorAlpha": 0,
"zoomable": false
},
"categoryField": "country",
"categoryAxis": {
"gridPosition": "start",
"gridAlpha": 0,
"tickPosition":"start",
"tickLength":20,
"labelsEnabled": false,
"axisAlpha": 0
}
});
// donut chart
var donutChart1 = AmCharts.makeChart("chartdiv2", {
"type": "pie",
"theme": "none",
"balloonText": "",
"colors": ["#5c5855", "#fe413f"],
"dataProvider": [{
"title": "New",
"value": 4852
}, {
"title": "Returning",
"value": 9899
}],
"titleField": "title",
"valueField": "value",
"labelRadius": 5,
...