FusionCharts - linked chart with alert

Created using FusionCharts Suite XT - www.fusioncharts.com

by Nabajeet Sonowal

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.fint.js"></script>
<div id="chart-container">FusionCharts will render here</div>
<div id="tableCont">
     <h3>Click on the pie slices to highlight the index of the slice.</h3>

</div>

JavaScript

FusionCharts.ready(function () {
    var revenueChart = new FusionCharts({
        type: 'column2d',
        renderAt: 'chart-container',
        width: '450',
        height: '300',
        dataFormat: 'json',
        dataSource: {
            "chart": {
                "caption": "Quarterly revenue",
                    "subCaption": "Last year (Click on columns to see details)",
                    "xAxisName": "Quarter",
                    "yAxisName": "Revenue",
                    "numberPrefix": "$",
                    "theme": "fint"
            },

                "data": [{
                "label": "Q1",
                    "value": "1950000",
                    "link": "newchart-json-Q1"
            }, {
                "label": "Q2",
                    "value": "1970000",
                    "link": "newchart-json-Q2"
            }, {
                "label": "Q3",
                    "value": "1910000",
                    "link": "newchart-json-Q3"
            }, {
                "label": "Q4",
                    "value": "2120000",
                    "link": "newchart-json-Q4"
            }],
                "linkeddata": [{
                "id": "Q1",
                    "linkedchart": {
                    //Data String Method. Data for linked chart added as string instead of url.    
                    "chart": {
                        "caption": "Monthly Revenue",
                            "subcaption": "First Quarter",
                            "xAxisName": "Month",
                            "yAxisName": "Revenue",
                            "numberPrefix": "$",
                            "theme": "fint"
                    },
                        "data": [{
                        "label": "Jan",
                            "value": "420000"
                    }, {
                        "label": "Feb",
                            "value": "810000"
                    }, {
                        "label": "Mar",
        ...