FusionCharts - Configuring legend cosmetics in Heat map chart

Created using FusionCharts Suite XT - www.fusioncharts.com

by Gary Cline

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.powerchart.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.fint.js"></script>
<!-- Heat map chart configured for gradient legend related cosmetic attributes, which help to customize different elements of the gradient legend using attributes : 

    # legendScaleLinecolor - Allows you to set the color of the scale in gradient legend. (In Hex).
    # legendScaleLineAlpha - Allows you to set the transparency of the scale in gradient legend. (0-100)
    # legendScaleLineThickness - Allows you to set the thickness of the scale in gradient legend. (In pixel).
    # legendPointerWidth - Allows you to set the width of the gradient legend pointers.(In pixel).
    # legendPointerHeight - Allows you to set the height of the gradient legend pointers.(In pixel).


-->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var salesHMChart = new FusionCharts({
        type: 'heatmap',
        renderAt: 'chart-container',
        width: '550',
        height: '300',
        dataFormat: 'json',
        dataSource:  {
            "chart": {
                "theme" : "fint",
                "legendPointerHeight": "10px",
                "legendPointerWidth": "10px",
                "labelDisplay": "rotate",
                "slantLabels": "1",
                "snapLegendPointers": "1",
                "legendSnapRange": "0",
                "interactiveLegend": "0",
                "caption": "Top Smartphone Ratings",
                "subcaption": "By Features",
                "xAxisName":"Features",
                "yAxisName":"Model",
                "showplotborder": "1",
                //Changing legend scale line color
                "legendScaleLinecolor": "#e44a00",
                //Modifying legend scale line alpha
                "legendScaleLineAlpha": "80",
                //Changing legend scale line thickness
                "legendScaleLineThickness": "2",
                //Changing legend pointer width
                "legendPointerWidth": "15",
                //Changing legend pointer height
                "legendPointerHeight": "20"         
            },
            "rows": {
                "row": [
                    {
                        "id": "SGS5",
                        "label": "Samsung Galaxy S5"
                    },
                    {
                        "id": "HTC1M8",
                        "label": "HTC One (M8)"
                    },
                    {
                        "id": "IPHONES5",
                        "label": "Apple iPhone 5S"
                    },
                    {
                        "id": "LUMIA",
                        "label": "Nokia Lumia 1520"
                    }
                ]
            },
            "columns": {
                "column": [
         ...