FusionCharts - Gallery Example - Multi-series Stacked Column 2D Chart

Created using FusionCharts Suite XT - www.fusioncharts.com

by Gagan Sikri

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<div style="width:800px;height:250px;position:relative;"> 
<div id="chart-container1" style="position:absolute; left:0px; width:400px; height:250px;"></div> 
<div id="chart-container2" style="position:absolute; left:400px; width:400px; height:250px;"></div>
</div>

JavaScript

FusionCharts.ready(function () {
    var revenueChart = new FusionCharts({
        type: 'msstackedcolumn2d',
        renderAt: 'chart-container1',
        width: '400',
        height: '250',
        dataFormat: 'json',
        dataSource: {            
            "chart": {
                "xaxisname": "Incidents",
                "yaxisname": "No. of Tickets",
                "bgColor": "#ffffff",
                "borderAlpha": "0",
                "showCanvasBorder": "0",
                "usePlotGradientColor": "0",
                "plotBorderAlpha": "10",
                "legendBorderAlpha": "0",
                "legendShadow": "0",
                "valueFontColor": "#ffffff",                
                "showXAxisLine": "1",
                "xAxisLineColor": "#999999",
                "divlineColor": "#999999",               
                "divLineIsDashed": "1",
                "showAlternateHGridColor": "0",
                "subcaptionFontBold": "0",
                "subcaptionFontSize": "14",
                "chartRightMargin": "0"
            },
            "categories": [
                {
                    "category": [
                        {
                            "label": "Open"
                        },
                        {
                            "label": "Resolved"
                        },
                        {
                        		"label": "Closed"
                        }
                    ]
                }
            ],
            "dataset": [
                {
                    "dataset": [
                        {
                            "seriesname": "Priority 1",
                            "data": [
                                {
                                    "value": "2"
                                },
                                {
                                    "value": "2"
                                }
                            ]
                        },
 ...