FusionCharts - Gallery Example - Bar 2D Chart

Created using FusionCharts Suite XT - www.fusioncharts.com

by Ashok Kumaresan

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<!-- Simple implementation of the Bar 2D chart -->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var topStores = new FusionCharts({
        type: 'pie2d',
        renderAt: 'chart-container',
        width: '400',
        height: '300',
        dataFormat: 'json',
        dataSource: {
            "chart": {
               "yaxisname": "Y Axis Name",
            "xaxisname": "X Axis Name",
                "showZeroPies":"0"
            },
            
            "data": [
                    {
                "label": "0",
                "value": "100"
            },
            {
                "label": "1",
                "value": "-100",
                "displayValue":"1, -100"
                
            }
            ]
        }
    })
    .render();
});