FusionCharts - Increasing size of icons for legend keys, in multi-series charts

Created using FusionCharts Suite XT - www.fusioncharts.com

by Moonmi Sonowal

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<!-- 
Increasing size of icons for legend keys, in multi-series charts. 
    
    Attribute:
        # legendIconScale - Number between 0-5
-->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var revenueChart = new FusionCharts({
        type: 'mscolumn2d',
        renderAt: 'chart-container',
        width: '300',
        height: '250',
        dataFormat: 'json',
        dataSource: {
            "chart": {
                "caption": "Comparison of Quarterly Revenue",
                "subCaption": "Last year Vs This year",
                "xAxisname": "Quarter",
                "yAxisName": "Revenue (In USD)",
                "numberPrefix": "$",
                "showvalues":"0",
                "Canvasbgcolor":"#CCCCCC",
                //Increasing scale of legend icons
                "legendIconScale":"1",
               
                "legendBordercolor":"#CCCCCC",
                "legendBorderAlpha": "0",
                "legendNumColumns":"2",
                "showCanvasBorder":"0",
                "showLegendBorder":"0",
      "legendBgAlpha": "0"
                
            },
            "categories": [
                {
                    "category": [
                        {
                            "label": "Q1"
                        }, 
                        {
                            "label": "Q2"
                        }, 
                        {
                            "label": "Q3"
                        }, 
                        {
                            "label": "Q4"
                        }
                    ]
                }
            ],
            "dataset": [
                {
                    "seriesname": "Goal",
                    "data": [
                        {
                            "value": "10000"
                        }, 
                        {
                            "value": "11500"
                        }, 
                        {
                            "value": "12500"
                        }, 
                        {
                            "value": "15000"
                        }
                  ...