Clustered Bar Chart

Clustered bar chart is a chart when bars of a different graphs are placed next to each another, and not stacked one on another, so basically it's the most simple bar chart with two graphs in it. <h2>Bar chart with patterns</h2> Click on PATTERNS theme above the chart - you will see that our bar or column chart supports patterns. There are several pre-build patterns in our package or you can easily build your own fancy patterns and use them with our charts. <h2>Hand-drawn style</h2> Click on CHALK theme above the chart - the bars will gain hand-drawn style, with non-straight lines. This is a very special feature of amCharts!

HTML

<script type="text/javascript" src="http://www.amcharts.com/lib/3/amcharts.js"></script>
<script type="text/javascript" src="http://www.amcharts.com/lib/3/serial.js"></script>
<script type="text/javascript" src="http://www.amcharts.com/lib/3/themes/none.js"></script>
<div id="chartdiv"></div>

CSS

#chartdiv {
	width		: 100%;
	height		: 400px;
	font-size	: 11px;
}

JavaScript

var chart = AmCharts.makeChart("chartdiv", {
	"type": "serial",
	"pathToImages": "http://cdn.amcharts.com/lib/3/images/",
	"categoryField": "year",
	"startDuration": 1,
	"categoryAxis": {
		"gridPosition": "start",
		"position": "left"
	},
	"trendLines": [],
	"graphs": [
		{
			"balloonText": "Income:[[value]]",
			"fillAlphas": 0.8,
			"id": "AmGraph-1",
			"lineAlpha": 0.2,
			"title": "Income",
			"type": "column",
			"valueField": "income"
		},
		{
			"balloonText": "Expenses:[[value]]",
			"fillAlphas": 0.8,
			"id": "AmGraph-2",
			"lineAlpha": 0.2,
			"title": "Expenses",
			"type": "column",
			"valueField": "expenses"
		},
		{
			"balloonText": "data1:[[value]]",
			"fillAlphas": 0.8,
			"lineAlpha": 0.2,
            title: 'data1',
			"type": "column",
			"valueField": "data1"
		},
		{
			"balloonText": "data2:[[value]]",
			"fillAlphas": 0.8,
			"lineAlpha": 0.2,
            title: 'data2',
			"type": "column",
			"valueField": "data2"
		},
		{
			"balloonText": "data3:[[value]]",
			"fillAlphas": 0.8,
			"lineAlpha": 0.2,
            title: 'data3',
			"type": "column",
			"valueField": "data3"
		},
		{
			"balloonText": "data4:[[value]]",
			"fillAlphas": 0.8,
			"lineAlpha": 0.2,
            title: 'data4',
			"type": "column",
			"valueField": "data4"
		},
		{
			"balloonText": "data5:[[value]]",
			"fillAlphas": 0.8,
			"lineAlpha": 0.2,
            title: 'data5',
			"type": "column",
			"valueField": "data5"
		},
		{
			"balloonText": "data6:[[value]]",
			"fillAlphas": 0.8,
			"lineAlpha": 0.2,
            title: 'data6',
			"type": "column",
			"valueField": "data6"
		},
		{
			"balloonText": "data7:[[value]]",
			"fillAlphas": 0.8,
			"lineAlpha": 0.2,
            title: 'data7',
			"type": "column",
			"valueField": "data7"
		},
		{
			"balloonText": "data8:[[value]]",
			"fillAlphas": 0.8,
			"lineAlpha": 0.2,
            title: 'data8',
			"type": "column",
			"valueField": "data8"
		},
		{
			"balloonText":...