FusionCharts - Gallery Example - Stacked Area 2D chart

Created using FusionCharts Suite XT - www.fusioncharts.com

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<!-- Stacked Area 2D chart showing product wise quarterly revenue for the current year. -->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var revenueChart = new FusionCharts({
        type: 'stackedarea2d',
        renderAt: 'chart-container',
        width: '650',
        height: '300',
        dataFormat: 'json',
        dataSource: {
            "chart": {
                "caption": "Harry's SuperMart",
                "subCaption": "Product-wise quarterly revenue in current year",
                "xAxisname": "Quarter",
                "yAxisName": "Amount",
                "numberPrefix": "$",
                "paletteColors": "#0075c2,#1aaf5d",
                "bgColor": "#ffffff",
                "borderAlpha": "20",
                "showCanvasBorder": "0",
                "usePlotGradientColor": "0",
                "plotBorderAlpha": "10",
                "plotFillAlpha": "50",
                "legendBorderAlpha": "0",
                "legendShadow": "0",
                "showValues": "0",
                "showBorder": "0",
                "showXAxisLine": "1",
                "xAxisLineColor": "#999999",
                "divlineColor": "#999999",               
                "divLineIsDashed": "1",
                "showAlternateHGridColor": "0",
                "subcaptionFontBold": "0",
                "subcaptionFontSize": "14",
                "stack100Percent": 1
            },
        "categories": [
            {
                "category": [
                    {
                        "label": "01/01/2016"
                    },
                    {
                        "label": "31/01/2016"
                    },
                    {
                        "label": "29/02/2016"
                    },
                    {
                        "label": "31/03/2016"
                    },
                    {
                        "label": "30/04/2016"
                    },
                    {
                        "label": "31/05/2016"
                    },
                    {
                        "label": "30/06/2016"
...