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

Created using FusionCharts Suite XT - www.fusioncharts.com

by Aniruddha Galgali

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: 'dragnode',
      renderAt: 'chart-container',
      width: '600',
      height: '600',
      dataFormat: 'json',
      dataSource: {
        "chart": {
          "caption": "Store Plannogram",
          "subcaption": "Bakersfield Central",
          "showcanvasborder": "1",
          "canvasborderAlpha": "50",
          "canvasborderthickness": "0.4",
          "showlegend": "1",
          "viewmode": "0",
          "showXAxisLine": "0",
          "xaxismaxvalue": "100",
          "yaxismaxvalue": "100",
          //Theme
          "theme": "fusion"
        },
        "dataset": [{
            "seriesname": "Entry",
            "color": "#008ee4",
            "data": [{
              "x": "5",
              "y": "50",
              "width": "45",
              "height": "100",
              "name": "Entry",
              "id": "1",
              "allowdrag": "0",
              "shape": "rectangle"
            }]
          },
          {
            "seriesname": "Retail Sections",
            "color": "#6baa01",
            "data": [{
                "x": "38",
                "y": "85",
                "width": "100",
                "height": "35",
                "name": "Daily{br}Consummables",
                "id": "2",
                "allowdrag": "1",
                "shape": "rectangle"
              },
              {
                "x": "38",
                "y": "67",
                "width": "100",
                "height": "35",
                "name": "Personal{br}care",
                "id": "3",
                "allowdrag": "1",
                "shape": "rectangle"
              },
              {
                "x": "38",
                "y": "49",
                "width": "100",
                "height": "35",
                "name": "Baby{br}care",
                "id": "4",
                "allowdrag": "1",
                "shape": "rectangle"
             ...