Configuring Charts - Hover effects in Dial for Angular Gauge

Created using FusionCharts Suite XT - www.fusioncharts.com

by Ritesh Pandey

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.widgets.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.fint.js"></script>
<!-- Using dial Hover effect for Angular gauge, using attributes:  

# showHoverEffect - set to 1
# dialBorderHoverColor - set to "#aa0000"
# dialbgHoverColor - set to "#000000"
# dialBorderHoverThickness - set to 1

-->

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

JavaScript

FusionCharts.ready(function () {
    var cSatScoreChart = new FusionCharts({
        type: 'angulargauge',
        renderAt: 'chart-container',
        width: '400',
        height: '250',
        dataFormat: 'json',
        dataSource: {
            "chart": {
                "caption": "Customer Satisfaction Score",
                "subcaption": "Last week"
            },
                "colorRange": {
                "color": [{
                    "minValue": "0",
                    "maxValue": "100",
                    "code": "#e44a00"
                }]
            },
            "dials": {
                "dial": [{
                    "value": "67"
                }]
            }
        }
    });

    cSatScoreChart.render();
});