FusionCharts - Gallery Example - Multi-Series Column 2D Chart

Created using FusionCharts Suite XT - www.fusioncharts.com

HTML

<script src="https://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="https://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.zune.js"></script>
<!-- A simple implementation of Multi-Series Column 2D chart showing sales report of Apple Products for last 5 years-->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var salesChart = new FusionCharts({
    type: 'MSColumn2D',
    renderAt: 'chart-container',
    width: '600',
    height: '400',
    dataFormat: 'json',
    dataSource: {
        "chart": {
            "caption": "Sales report of Apple products",
            "subcaption": "In Billion $",
            "decimals": "0",
            "numberprefix": "$",
            "numbersuffix": "B",
            "placevaluesinside": "1",
            "rotatevalues": "0",
            "divlinealpha": "50",
            "plotfillalpha": "80",
            "theme": "zune"
        },
        "categories": [{
            "category": [{
                    "label": "2012"
                },
                {
                    "label": "2013"
                },
                {
                    "label": "2014"
                },
                {
                    "label": "2015"
                },
                {
                    "label": "2016"
                }
            ]
        }],
        "dataset": [{
                "seriesname": "iPod",
                "data": [{
                        "value": "42.63"
                    },
                    {
                        "value": "35.16"
                    },
                    {
                        "value": "26.38"
                    },
                    {
                        "value": "20.38"
                    },
                    {
                        "value": "14.23"
                    }
                ]
            }
        ]
    }
})
    .render();
});