FusionCharts - Gallery Example - Column2D Chart
Created using FusionCharts Suite XT - www.fusioncharts.com
HTML
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/themes/fusioncharts.theme.fusion.js"></script>
<!-- Column 2D chart showing Monthly revenues for last year -->
<div id="chart-container">FusionCharts will render here</div>
CSS
div {
margin-left: 10px;
margin-top: 10px;
}
JavaScript
FusionCharts.ready(function() {
var revenueChart = new FusionCharts({
type: 'stackedcolumn2d',
renderAt: 'chart-container',
width: '500',
height: '350',
dataFormat: 'json',
dataSource: {
"chart": {
//Theme
"theme": "fusion"
},
"categories": [{
"category": [{
"label": "AG"
}, {
"label": "AL"
}, {
"label": "AN"
}, {
"label": "AO"
}, {
"label": "APR"
}, {
"label": "AQ1"
}, {
"label": "AR"
}, {
"label": "AT"
}, {
"label": "BA"
}, {
"label": "BDG"
}, {
"label": "BG"
}, {
"label": "BIE"
}, {
"label": "BNS"
}, {
"label": "BO1"
}, {
"label": "BO14"
}, {
"label": "BS"
}, {
"label": "BUS"
}, {
"label": "BZ"
}]
}],
"dataset": [{
"seriesname": "NULL",
"data": [{
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}, {
"value": "61"
}]
}, {
"seriesname": "YES",
"data": [{
"value": "61"
}, {
"value": "61"
}, {
"value": "37"
}, {
...