FusionCharts - Funnel 2D Chart with customized plot border

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>
<!--
    A simple Funnel 2D Chart with customized plot border.
    Attributes:
		# is2D - Set to 1,
		# showPlotBorder - Set to 1,
		# plotBorderColor - Set to #333333,
		# plotBorderThickness - Set to 1,
		# plotBorderAlpha - Set to 50
-->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
  var conversionChart = new FusionCharts({
    type: 'funnel',
    renderAt: 'chart-container',
    width: '500',
    height: '400',
    dataFormat: 'json',
    dataSource: {
      "chart": {
        "theme": "fusion",
        "caption": "Website visits",
        "subcaption": "Purchase - Conversion analysis for last year",
        "decimals": "1",
        "labelDistance": "15",
        "plotTooltext": "Success : $percentOfPrevValue",
        "showPercentValues": "1",
        "theme": "fusion",

        //Draw 2D chart
        "is2D": "1",
        //Border Properties
        "showPlotBorder": "1",
        "plotBorderColor": "#333333",
        "plotBorderThickness": "1",
        "plotBorderAlpha": "50",

      },
      "data": [{
          "label": "Unique Website Visits",
          "value": "1460000"
        },
        {
          "label": "Programme Details Section Visits",
          "value": "930000"
        },
        {
          "label": "Attempts to Register",
          "value": "540000"
        },
        {
          "label": "Successful Registrations",
          "value": "210000"
        },
        {
          "label": "Logged In",
          "value": "190000"
        },
        {
          "label": "Purchased on Introductory Offers",
          "value": "120000"
        }
      ]
    }
  });

  conversionChart.render();
});