FusionCharts - Simple Gantt Chart

Created using FusionCharts Suite XT - www.fusioncharts.com

by Gagan Sikri

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>
<!-- A simple Gantt chart -->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var socialMediaPlan = new FusionCharts({
        type: 'gantt',
        renderAt: 'chart-container',
        width: '750',
        height: '500',
        dataFormat: 'json',
        dataSource: {
            "chart": {
                "dateformat": "mm/dd/yyyy",
                "caption": "Social Media Optimization",
                "subcaption": "Typical Steps Involved",
                "theme": "fint",
                "canvasBorderAlpha": "40"
            },
            "categories": [
                {
                    "category": [
                        {
                            "start": "08/01/2014",
                            "end": "08/01/2014",
                            "label": "08/01/2014"
                        },
                        {
                            "start": "09/01/2014",
                            "end": "09/01/2014",
                            "label": "09/01/2014"
                        },
                        {
                            "start": "10/01/2014",
                            "end": "10/01/2014",
                            "label": "10/01/2014"
                        },
                        {
                            "start": "11/01/2014",
                            "end": "11/01/2014",
                            "label": "11/01/2014"
                        },
                        {
                            "start": "12/01/2014",
                            "end": "12/01/2014",
                            "label": "12/01/2014"
                        },
                        {
                            "start": "01/01/2015",
                            "end": "01/01/2015",
                            "label": "01/01/2015"
                        },
                        {
                            "start": "02/01/2015",
                            "end": "02/01/2015",
                            "label": "02/01/2015"
                     ...