V3: Column with images
HTML
<script src="http://www.amcharts.com/lib/3/amcharts.js"></script>
<script src="http://www.amcharts.com/lib/3/serial.js"></script>
<div id="chartdiv" style="width: 100%; height: 362px;"></div>
JavaScript
// note, each data item has "bullet" field.
var columnChartData = [{
"name": "John",
"points": 35654,
"color": "#7F8DA9",
"bullet": "http://www.amcharts.com/lib/3/images/0.gif"
}, {
"name": "Damon",
"points": 65456,
"color": "#FEC514",
"bullet": "http://www.amcharts.com/lib/3/images/1.gif"
}, {
"name": "Patrick",
"points": 45724,
"color": "#DB4C3C",
"bullet": "http://www.amcharts.com/lib/3/images/2.gif"
}, {
"name": "Mark",
"points": 13654,
"color": "#DAF0FD",
"bullet": "http://www.amcharts.com/lib/3/images/3.gif"
}];
AmCharts.ready(function () {
// SERIAL CHART
var chart = new AmCharts.AmSerialChart();
chart.dataProvider = columnChartData;
chart.categoryField = "name";
chart.startDuration = 1;
// sometimes we need to set margins manually
// autoMargins should be set to false in order chart to use custom margin values
chart.autoMargins = false;
chart.marginRight = 0;
chart.marginLeft = 0;
chart.marginBottom = 0;
chart.marginTop = 0;
// AXES
// category
var categoryAxis = chart.categoryAxis;
categoryAxis.inside = true;
categoryAxis.axisAlpha = 0;
categoryAxis.gridAlpha = 0;
categoryAxis.tickLength = 0;
// value
var valueAxis = new AmCharts.ValueAxis();
valueAxis.minimum = 0;
valueAxis.axisAlpha = 0;
valueAxis.maximum = 80000;
valueAxis.dashLength = 4;
chart.addValueAxis(valueAxis);
// GRAPH
var graph = new AmCharts.AmGraph();
graph.valueField = "points";
graph.customBulletField = "bullet"; // field of the bullet in data provider
graph.bulletOffset = 16; // distance from the top of the column to the bullet
graph.colorField = "color";
graph.bulletSize = 34; // bullet image should be rectangle (width = height)
graph.type = "column";
graph.fillAlphas = 0.8;
graph.cornerRadiusTop = 8;
...