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: 'mscombidy2d',
        renderAt: 'chart-container',
        width: '500',
        height: '300',
        dataFormat: 'json',
        dataSource: {
  "chart": {
    "caption": "Sales Volume",
    "pyaxisname": "Revenue",
    "syaxisname": "Quantity",
    "showvalues": "0",
    "numberprefix": "$",
      "showDivLineValues": "0",
      "showLimits": "0",
      "showSecondaryLimits": "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": "Revenue",
      "parentyaxis": "S",
      "renderas": "Column",
      "data": [
        {
          "value": "170"
        },
        {
          "value": "610"
        },
        {
          "value": "142"
        },
        {
          "value": "135"
        },
        {
          "value": "214"
        },
        {
          "value": "121"
        },
        {
          "value": "113"
        },
        {
          "value": "156"
        },
        {
          "value": "212"
        },
        {
          "value": "900"
        },
        {
          "value": "132"
        },
        {
          "value": "101"
        }
      ]
    },
    {
      "seriesname": "Quantity",
      "parentyaxis": "S",
      "data": [
        {
          "value": "340"
        },
        {
          "value": "120"
        },
        {
          "value": "280"
      ...