FusionCharts - Column 2D Chart in JavaScript

Created using FusionCharts Suite XT - www.fusioncharts.com

by sanjuktamukherjee

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.fint.js"></script>
<!--
    A simple Column 2D chart showing monthly revenue of Harry's SuperMart for last year.
-->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var revenueChart = new FusionCharts({
        //type: 'msline',
        type: 'zoomline',
        renderAt: 'chart-container',
        width: '500',
        height: '300',
        dataFormat: 'json',
        dataSource: {
  "chart": {
    "caption": "Business Results 2005 v 2006",
    "xaxisname": "Month",
    "yaxisname": "Revenue",
    "showvalues": "0",
    "decimals": "3",
    "forceDecimals": "1"
  },
  "categories": [
    {
      "category": [
        {
          "label": "Jan"
        },
        {
          "label": "Feb"
        },
        {
          "label": "Mar"
        },
        {
          "label": "Apr"
        },
        {
          "label": "May"
        },
        {
          "label": "Jun"
        },
        {
          "label": "Jul"
        },
        {
          "label": "Aug"
        },
        {
          "label": "Sep"
        },
        {
          "label": "Oct"
        },
        {
          "label": "Nov"
        },
        {
          "label": "Dec"
        }
      ]
    }
  ],
  "dataset": [
    {
      "seriesname": "2006",
      "data": [
        {
          "value": "274"
        },
        {
          "value": "298"
        },
        {
          "value": "258"
        },
        {
          "value": "268"
        },
        {
          "value": "296"
        },
        {
          "value": "326"
        },
        {
          "value": "318"
        },
        {
          "value": "367"
        },
        {
          "value": "297"
        },
        {
          "value": "319"
        },
        {
          "value": "348"
        },
        {
          "value": "248"
        }
      ]
    },
    {
      "seriesname": "2005",
      "data": [
        {
          "value": "100"
        },
        {
          "value": "115"
        },
        {
          "value": "125"
        },
        {
          "value": "150"
        },
        {
          "value": "110"
        },
        {
         ...