FusionCharts - Gallery Example - Multi-series 2D Dual Y Combination Chart in Javascript.

Created using FusionCharts Suite XT - www.fusioncharts.com

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>
<!-- 
    Multi-series 2D Dual Y Combination Chart.
-->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
  var revenueChart = new FusionCharts({
    type: 'mscombidy2d',
    renderAt: 'chart-container',
    width: '700',
    height: '400',
    dataFormat: 'json',
    dataSource: {
      "chart": {
        "xAxisname": "Month",
        "pYAxisName": "Numerator and Denominator",
        "sYAxisName": "Metric",
        "sYAxisMaxValue": "100",

        //Cosmetics
        "divlineAlpha": "100",
        "divlineColor": "#999999",
        "divlineThickness": "1",
        "divLineIsDashed": "1",
        "divLineDashLen": "1",
        "divLineGapLen": "1",
        "usePlotGradientColor": "0",
        "anchorRadius": "3",
        "theme": "fusion"
      },
      "categories": [{
        "category": [{
            "label": "label1"
          },
          {
            "label": "label2"
          },
          {
          	"label": "label3"
          }
        ]
      }],
      "dataset": [{
          "seriesName": "Numerator",
          "renderAs": "line",
          "showValues": "0",
          "data": [{
              "value": "1000000"
            },
            {
              "value": "1200000"
            },
            {
            	"value": "900000"
            }
          ]
        },
        {
          "seriesName": "Denominator",
          "renderAs": "line",
          "showValues": "0",
          "data": [{
              "value": "740000"
            },
            {
              "value": "960000"
            },
            {
            	"value": "600000"
            }
          ]
        },
        {
          "seriesName": "Metric",
          "parentYAxis": "S",
          "renderAs": "line",
          "data": [{
              "value": "74"
            },
            {
              "value": "83"
            },
            {
            	"value": "66"
            }
          ]
        }
      ]
    }
  });

  revenueChart.render();
});