FusionCharts - Gallery Example - Multi-Series Column 2D Chart

Created using FusionCharts Suite XT - www.fusioncharts.com

by FusionCharts

HTML

<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/themes/fusioncharts.theme.fusion.js"></script>
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
  var salesChart = new FusionCharts({
      type: 'multiaxisline',
      renderAt: 'chart-container',
      width: '600',
      height: '350',
      dataFormat: 'json',
      dataSource: {
        "chart": {
          "caption": "Revenue Analysis",
          "subcaption": "Last 12 weeks",
          "xaxisname": "Week of Year",
          "theme": "fusion"
        },
        "categories": [{
          "category": [{
            "label": "1"
          }, {
            "label": "2"
          }, {
            "label": "3"
          }, {
            "label": "4"
          }, {
            "label": "5"
          }, {
            "label": "6"
          }, {
            "label": "7"
          }, {
            "label": "8"
          }, {
            "label": "9"
          }, {
            "label": "10"
          }, {
            "label": "11"
          }, {
            "label": "12"
          }]
        }],
        "axis": [{
          "title": "Revenue",
          "titlepos": "left",
          "tickwidth": "10",
          "numberPrefix": "$",
          "divlineisdashed": "1",
          "dataset": [{
            "seriesname": "Revenue",
            "lineThickness": "3",
            "data": [{
              "value": "137500"
            }, {
              "value": "124350"
            }, {
              "value": "156700"
            }, {
              "value": "131450"
            }, {
              "value": "208300"
            }, {
              "value": "219900"
            }, {
              "value": "227500"
            }, {
              "value": "254300"
            }, {
              "value": "155900"
            }, {
              "value": "105650"
            }, {
              "value": "120950"
            }, {
              "value": "127500"
            }]
          }]
        }, {
          "title": "Orders",
          "axisOnLeft": "0",
          "titlePos": "right",
          "numDivlines": "8",
          "tickWidth": "10",
   ...