Gantt Chart- Vertical Scrolling

Created using FusionCharts Suite XT - www.fusioncharts.com

by Ayan Bhadury

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.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>

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

JavaScript

FusionCharts.ready(function () {
    var smoPlan = new FusionCharts({
        type: 'gantt',
        renderAt: 'chart-container',
        width: '650',
        height: '300',
        dataFormat: 'json',
        dataSource: {
            "chart": {
                "dateformat": "mm/dd/yyyy",
                "exportenabled":"1",
    						"useVerticalScrolling" : "0",
                "canvasBorderAlpha": "40",
               "useVerticalScrolling":"1"
            },
            "datatable": {
                "headervalign": "bottom",
                "datacolumn": [
                    {
                        "headertext": "Owner",
                        "headerfontsize": "14",
                        "headervalign": "bottom",
                        "headeralign": "left",
                        "align": "left",
                        "fontsize": "12",                        
                        "text": [
                            {
                                "label": "John"
                            },
                            {
                                "label": "David"
                            },
                            {
                                "label": "Mary"
                            },
                            {
                                "label": "John"
                            },
                            {
                                "label": "Andrew & Harry"
                            },
                            {
                                "label": "John & Harry"
                            },
                            {
                                "label": "Neil & Harry"
                            },
                            {
                                "label": "Neil & Harry"
                            },
                            {
                                "label": "Chris"
                            },
                            {
                         ...