Chart Attributes

  • a
  • b
  • c
  • d
  • e
  • f
  • g
  • h
  • i
  • j
  • k
  • l
  • m
  • n
  • o
  • p
  • q
  • r
  • s
  • t
  • u
  • v
  • w
  • x
  • y
  • z
  • Area 2D
  • Bar 2D
  • Bar 3D
  • Box and Whisker 2D
  • Bubble Chart
  • Candlestick Chart
  • Chord
  • Column 2D
  • Column 3D
  • Doughnut 2D
  • Doughnut 3D
  • Drag Node Chart
  • Drag-able Area 2D Chart
  • Drag-able Column 2D Chart
  • Drag-able Line 2D Chart
  • Error Bar Chart
  • Error Line 2D Chart
  • Error Scatter Chart
  • Funnel Chart
  • Gantt Chart
  • Heat Map Chart
  • Horizontal Bullet Graph
  • Horizontal LED
  • Inverse Y-axis Area Chart
  • Inverse Y-axis Column 2D Chart
  • Inverse Y-axis Line 2D Chart
  • Kagi Chart
  • Line 2D
  • Logarithmic Column 2D Chart
  • Logarithmic Line 2D Chart
  • Marimekko
  • Multi-axis Line Chart
  • Multi-level Pie Chart
  • Multi-series 2D Dual Y Combination Chart (Column + Line + Area + Spline)
  • Multi-series 2D Single Y Combination Chart (Column + Line + Area + Spline)
  • Multi-series 3D Dual Y Combination Chart (Column + Line + Area + Spline)
  • Multi-series 3D Single Y Combination Chart (Column + Line + Area + Spline)
  • Multi-series Area 2D
  • Multi-series Bar 2D
  • Multi-series Bar 3D
  • Multi-series Column 2D
  • Multi-series Column 3D
  • Multi-series Column 3D + Line Dual Y Axis
  • Multi-series Column 3D + Line Single Y-axis
  • Multi-series Line 2D
  • Multi-series Spline
  • Multi-series Spline Area
  • Multi-series Stacked Column 2D
  • Multi-series Stacked Column 2D + Line Dual Y Axis
  • Overlapped Column 2D
  • Overlapped Bar 2D
  • Pareto 2D
  • Pareto 3D
  • Pie 2D
  • Pie 3D
  • Pyramid Chart
  • Radar Chart
  • Real-time Angular
  • Real-time Area
  • Real-time Bulb
  • Real-time Column
  • Real-time Cylinder
  • Real-time Horizontal Linear
  • Real-time Line
  • Real-time Line (Dual Y)
  • Real-time Stacked Area
  • Real-time Stacked Column
  • Real-time Thermometer
  • Sankey Diagram
  • Scatter Chart
  • Scroll Area 2D
  • Scroll Bar 2D
  • Scroll Column 2D
  • Scroll Combination 2D (Dual Y)
  • Scroll Combination 2D (Single Y)
  • Scroll Line 2D
  • Scroll Multi-series Stacked Column 2D
  • Scroll Multi-series Stacked Column 2D + Line (Dual Y)
  • Scroll Stacked Bar 2D
  • Scroll Stacked Column 2D
  • Select-scatter Chart
  • Single-series Spline 2D
  • Single-series Spline Area 2D
  • Spark Column
  • Spark Line
  • Spark Win/Loss
  • Stacked 2D Column + Line Single Y-axis
  • Stacked 3D Column + Line Single Y-axis
  • Stacked Area 2D
  • Stacked Area 2D Line Dual Y-axis Chart
  • Stacked Bar 2D
  • Stacked Bar 3D
  • Stacked Column 2D
  • Stacked Column 2D Line Dual Y-axis Chart
  • Stacked Column 3D
  • Stacked Column 3D + Line Dual Y Axis
  • Step Line Charts
  • Sunburst
  • Tree Map Chart
  • Vertical Bullet Graph
  • Vertical LED
  • Waterfall / Cascade Chart
  • Zoom Line
  • Zoom Line Dual Y-axis
  • Zoom Scatter
JavaScript alias: gantt
See all attributes
  • json
  • xml
{
    "chart": {
        "caption": "Construction management of a new store in Denver",
        "subcaption": "Planned vs Actual",
        "dateformat": "dd/mm/yyyy",
        "outputdateformat": "ddds mns yy",
        "ganttwidthpercent": "60",
        "ganttPaneDuration": "40",
        "ganttPaneDurationUnit": "d",
        "plottooltext": "$processName{br} $label starting date $start{br}$label ending date $end",
        "legendBorderAlpha": "0",
        "flatScrollBars": "1",
        "gridbordercolor": "#333333",
        "gridborderalpha": "20",
        "slackFillColor": "#e44a00",
        "taskBarFillMix": "light+0",
        "theme": "fusion"
    },
    "categories": [
        {
            "bgcolor": "#999999",
            "category": [
                {
                    "start": "1/4/2014",
                    "end": "30/6/2014",
                    "label": "Months",
                    "align": "middle",
                    "fontcolor": "#ffffff",
                    "fontsize": "12"
                }
            ]
        },
        {
            "bgcolor": "#999999",
            "align": "middle",
            "fontcolor": "#ffffff",
            "fontsize": "12",
            "category": [
                {
                    "start": "1/4/2014",
                    "end": "30/4/2014",
                    "label": "April"
                },
                {
                    "start": "1/5/2014",
                    "end": "31/5/2014",
                    "label": "May"
                },
                {
                    "start": "1/6/2014",
                    "end": "30/6/2014",
                    "label": "June"
                }
            ]
        },
        {
            "bgcolor": "#ffffff",
            "fontcolor": "#333333",
            "fontsize": "11",
            "align": "center",
            "category": [
                {
                    "start": "1/4/2014",
                    "end": "5/4/2014",
                    "label": "Week 1"
                },
                {
                    "start": "6/4/2014",
                    "end": "12/4/2014",
                    "label": "Week 2"
                },
                {
                    "start": "13/4/2014",
                    "end": "19/4/2014",
                    "label": "Week 3"
                },
                {
                    "start": "20/4/2014",
                    "end": "26/4/2014",
                    "label": "Week 4"
                },
                {
                    "start": "27/4/2014",
                    "end": "3/5/2014",
                    "label": "Week 5"
                },
                {
                    "start": "4/5/2014",
                    "end": "10/5/2014",
                    "label": "Week 6"
                },
                {
                    "start": "11/5/2014",
                    "end": "17/5/2014",
                    "label": "Week 7"
                },
                {
                    "start": "18/5/2014",
                    "end": "24/5/2014",
                    "label": "Week 8"
                },
                {
                    "start": "25/5/2014",
                    "end": "31/5/2014",
                    "label": "Week 9"
                },
                {
                    "start": "1/6/2014",
                    "end": "7/6/2014",
                    "label": "Week 10"
                },
                {
                    "start": "8/6/2014",
                    "end": "14/6/2014",
                    "label": "Week 11"
                },
                {
                    "start": "15/6/2014",
                    "end": "21/6/2014",
                    "label": "Week 12"
                },
                {
                    "start": "22/6/2014",
                    "end": "28/6/2014",
                    "label": "Week 13"
                }
            ]
        }
    ],
    "processes": {
        "headertext": "Task",
        "fontcolor": "#000000",
        "fontsize": "11",
        "isanimated": "1",
        "bgcolor": "#6baa01",
        "headervalign": "bottom",
        "headeralign": "left",
        "headerbgcolor": "#999999",
        "headerfontcolor": "#ffffff",
        "headerfontsize": "12",
        "align": "left",
        "isbold": "1",
        "bgalpha": "25",
        "process": [
            {
                "label": "Clear site",
                "id": "1"
            },
            {
                "label": "Excavate Foundation",
                "id": "2",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "Concrete Foundation",
                "id": "3",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "Footing to DPC",
                "id": "4",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "Drainage Services",
                "id": "5",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "Backfill",
                "id": "6",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "Ground Floor",
                "id": "7"
            },
            {
                "label": "Walls on First Floor",
                "id": "8"
            },
            {
                "label": "First Floor Carcass",
                "id": "9",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "First Floor Deck",
                "id": "10",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "Roof Structure",
                "id": "11"
            },
            {
                "label": "Roof Covering",
                "id": "12"
            },
            {
                "label": "Rainwater Gear",
                "id": "13"
            },
            {
                "label": "Windows",
                "id": "14"
            },
            {
                "label": "External Doors",
                "id": "15"
            },
            {
                "label": "Connect Electricity",
                "id": "16"
            },
            {
                "label": "Connect Water Supply",
                "id": "17",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "Install Air Conditioning",
                "id": "18",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "Interior Decoration",
                "id": "19",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "Fencing And signs",
                "id": "20"
            },
            {
                "label": "Exterior Decoration",
                "id": "21",
                "hoverBandColor": "#e44a00",
                "hoverBandAlpha": "40"
            },
            {
                "label": "Setup racks",
                "id": "22"
            }
        ]
    },
    "datatable": {
        "showprocessname": "1",
        "namealign": "left",
        "fontcolor": "#000000",
        "fontsize": "10",
        "valign": "right",
        "align": "center",
        "headervalign": "bottom",
        "headeralign": "center",
        "headerbgcolor": "#999999",
        "headerfontcolor": "#ffffff",
        "headerfontsize": "12",
        "datacolumn": [
            {
                "bgcolor": "#eeeeee",
                "headertext": "Actual{br}Start{br}Date",
                "text": [
                    {
                        "label": "9/4/2014"
                    },
                    {
                        "label": "13/4/2014"
                    },
                    {
                        "label": "26/4/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "4/5/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "6/5/2014"
                    },
                    {
                        "label": "5/5/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "11/5/2014"
                    },
                    {
                        "label": "16/5/2014"
                    },
                    {
                        "label": "16/5/2014"
                    },
                    {
                        "label": "21/5/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "25/5/2014"
                    },
                    {
                        "label": "28/5/2014"
                    },
                    {
                        "label": "4/6/2014"
                    },
                    {
                        "label": "4/6/2014"
                    },
                    {
                        "label": "4/6/2014"
                    },
                    {
                        "label": "2/6/2014"
                    },
                    {
                        "label": "5/6/2014"
                    },
                    {
                        "label": "18/6/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "16/6/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "23/6/2014"
                    },
                    {
                        "label": "18/6/2014"
                    },
                    {
                        "label": "25/6/2014"
                    }
                ]
            },
            {
                "bgcolor": "#eeeeee",
                "headertext": "Actual{br}End{br}Date",
                "text": [
                    {
                        "label": "12/4/2014"
                    },
                    {
                        "label": "25/4/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "4/5/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "10/5/2014"
                    },
                    {
                        "label": "10/5/2014"
                    },
                    {
                        "label": "11/5/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "14/5/2014"
                    },
                    {
                        "label": "19/5/2014"
                    },
                    {
                        "label": "21/5/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "24/5/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "27/5/2014"
                    },
                    {
                        "label": "1/6/2014"
                    },
                    {
                        "label": "6/6/2014"
                    },
                    {
                        "label": "4/6/2014"
                    },
                    {
                        "label": "4/6/2014"
                    },
                    {
                        "label": "7/6/2014"
                    },
                    {
                        "label": "17/6/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "20/6/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "23/6/2014"
                    },
                    {
                        "label": "23/6/2014"
                    },
                    {
                        "label": "23/6/2014",
                        "bgcolor": "#e44a00",
                        "bgAlpha": "40"
                    },
                    {
                        "label": "28/6/2014"
                    }
                ]
            }
        ]
    },
    "tasks": {
        "task": [
            {
                "label": "Planned",
                "processid": "1",
                "start": "9/4/2014",
                "end": "12/4/2014",
                "id": "1-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "1",
                "start": "9/4/2014",
                "end": "12/4/2014",
                "id": "1",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "2",
                "start": "13/4/2014",
                "end": "23/4/2014",
                "id": "2-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "2",
                "start": "13/4/2014",
                "end": "25/4/2014",
                "id": "2",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Delay",
                "processid": "2",
                "start": "23/4/2014",
                "end": "25/4/2014",
                "id": "2-2",
                "color": "#e44a00",
                "toppadding": "56%",
                "height": "32%",
                "tooltext": "Delayed by 2 days."
            },
            {
                "label": "Planned",
                "processid": "3",
                "start": "23/4/2014",
                "end": "30/4/2014",
                "id": "3-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "3",
                "start": "26/4/2014",
                "end": "4/5/2014",
                "id": "3",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Delay",
                "processid": "3",
                "start": "3/5/2014",
                "end": "4/5/2014",
                "id": "3-2",
                "color": "#e44a00",
                "toppadding": "56%",
                "height": "32%",
                "tooltext": "Delayed by 1 days."
            },
            {
                "label": "Planned",
                "processid": "4",
                "start": "3/5/2014",
                "end": "10/5/2014",
                "id": "4-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "4",
                "start": "4/5/2014",
                "end": "10/5/2014",
                "id": "4",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "5",
                "start": "6/5/2014",
                "end": "11/5/2014",
                "id": "5-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "5",
                "start": "6/5/2014",
                "end": "10/5/2014",
                "id": "5",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "6",
                "start": "4/5/2014",
                "end": "7/5/2014",
                "id": "6-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "6",
                "start": "5/5/2014",
                "end": "11/5/2014",
                "id": "6",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Delay",
                "processid": "6",
                "start": "7/5/2014",
                "end": "11/5/2014",
                "id": "6-2",
                "color": "#e44a00",
                "toppadding": "56%",
                "height": "32%",
                "tooltext": "Delayed by 4 days."
            },
            {
                "label": "Planned",
                "processid": "7",
                "start": "11/5/2014",
                "end": "14/5/2014",
                "id": "7-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "7",
                "start": "11/5/2014",
                "end": "14/5/2014",
                "id": "7",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "8",
                "start": "16/5/2014",
                "end": "19/5/2014",
                "id": "8-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "8",
                "start": "16/5/2014",
                "end": "19/5/2014",
                "id": "8",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "9",
                "start": "16/5/2014",
                "end": "18/5/2014",
                "id": "9-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "9",
                "start": "16/5/2014",
                "end": "21/5/2014",
                "id": "9",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Delay",
                "processid": "9",
                "start": "18/5/2014",
                "end": "21/5/2014",
                "id": "9-2",
                "color": "#e44a00",
                "toppadding": "56%",
                "height": "32%",
                "tooltext": "Delayed by 3 days."
            },
            {
                "label": "Planned",
                "processid": "10",
                "start": "20/5/2014",
                "end": "23/5/2014",
                "id": "10-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "10",
                "start": "21/5/2014",
                "end": "24/5/2014",
                "id": "10",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Delay",
                "processid": "10",
                "start": "23/5/2014",
                "end": "24/5/2014",
                "id": "10-2",
                "color": "#e44a00",
                "toppadding": "56%",
                "height": "32%",
                "tooltext": "Delayed by 1 days."
            },
            {
                "label": "Planned",
                "processid": "11",
                "start": "25/5/2014",
                "end": "27/5/2014",
                "id": "11-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "11",
                "start": "25/5/2014",
                "end": "27/5/2014",
                "id": "11",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "12",
                "start": "28/5/2014",
                "end": "1/6/2014",
                "id": "12-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "12",
                "start": "28/5/2014",
                "end": "1/6/2014",
                "id": "12",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "13",
                "start": "4/6/2014",
                "end": "6/6/2014",
                "id": "13-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "13",
                "start": "4/6/2014",
                "end": "6/6/2014",
                "id": "13",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "14",
                "start": "4/6/2014",
                "end": "4/6/2014",
                "id": "14-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "14",
                "start": "4/6/2014",
                "end": "4/6/2014",
                "id": "14",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "15",
                "start": "4/6/2014",
                "end": "4/6/2014",
                "id": "15-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "15",
                "start": "4/6/2014",
                "end": "4/6/2014",
                "id": "15",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "16",
                "start": "2/6/2014",
                "end": "7/6/2014",
                "id": "16-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "16",
                "start": "2/6/2014",
                "end": "7/6/2014",
                "id": "16",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "17",
                "start": "5/6/2014",
                "end": "10/6/2014",
                "id": "17-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "17",
                "start": "5/6/2014",
                "end": "17/6/2014",
                "id": "17",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Delay",
                "processid": "17",
                "start": "10/6/2014",
                "end": "17/6/2014",
                "id": "17-2",
                "color": "#e44a00",
                "toppadding": "56%",
                "height": "32%",
                "tooltext": "Delayed by 7 days."
            },
            {
                "label": "Planned",
                "processid": "18",
                "start": "10/6/2014",
                "end": "12/6/2014",
                "id": "18-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Delay",
                "processid": "18",
                "start": "18/6/2014",
                "end": "20/6/2014",
                "id": "18",
                "color": "#e44a00",
                "toppadding": "56%",
                "height": "32%",
                "tooltext": "Delayed by 8 days."
            },
            {
                "label": "Planned",
                "processid": "19",
                "start": "15/6/2014",
                "end": "23/6/2014",
                "id": "19-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "19",
                "start": "16/6/2014",
                "end": "23/6/2014",
                "id": "19",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "20",
                "start": "23/6/2014",
                "end": "23/6/2014",
                "id": "20-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "20",
                "start": "23/6/2014",
                "end": "23/6/2014",
                "id": "20",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Planned",
                "processid": "21",
                "start": "18/6/2014",
                "end": "21/6/2014",
                "id": "21-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "21",
                "start": "18/6/2014",
                "end": "23/6/2014",
                "id": "21",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            },
            {
                "label": "Delay",
                "processid": "21",
                "start": "21/6/2014",
                "end": "23/6/2014",
                "id": "21-2",
                "color": "#e44a00",
                "toppadding": "56%",
                "height": "32%",
                "tooltext": "Delayed by 2 days."
            },
            {
                "label": "Planned",
                "processid": "22",
                "start": "24/6/2014",
                "end": "28/6/2014",
                "id": "22-1",
                "color": "#008ee4",
                "height": "32%",
                "toppadding": "12%"
            },
            {
                "label": "Actual",
                "processid": "22",
                "start": "25/6/2014",
                "end": "28/6/2014",
                "id": "22",
                "color": "#6baa01",
                "toppadding": "56%",
                "height": "32%"
            }
        ]
    },
    "connectors": [
        {
            "connector": [
                {
                    "fromtaskid": "1",
                    "totaskid": "2",
                    "color": "#008ee4",
                    "thickness": "2",
                    "fromtaskconnectstart_": "1"
                },
                {
                    "fromtaskid": "2-2",
                    "totaskid": "3",
                    "color": "#008ee4",
                    "thickness": "2"
                },
                {
                    "fromtaskid": "3-2",
                    "totaskid": "4",
                    "color": "#008ee4",
                    "thickness": "2"
                },
                {
                    "fromtaskid": "3-2",
                    "totaskid": "6",
                    "color": "#008ee4",
                    "thickness": "2"
                },
                {
                    "fromtaskid": "7",
                    "totaskid": "8",
                    "color": "#008ee4",
                    "thickness": "2"
                },
                {
                    "fromtaskid": "7",
                    "totaskid": "9",
                    "color": "#008ee4",
                    "thickness": "2"
                },
                {
                    "fromtaskid": "12",
                    "totaskid": "16",
                    "color": "#008ee4",
                    "thickness": "2"
                },
                {
                    "fromtaskid": "12",
                    "totaskid": "17",
                    "color": "#008ee4",
                    "thickness": "2"
                },
                {
                    "fromtaskid": "17-2",
                    "totaskid": "18",
                    "color": "#008ee4",
                    "thickness": "2"
                },
                {
                    "fromtaskid": "19",
                    "totaskid": "22",
                    "color": "#008ee4",
                    "thickness": "2"
                }
            ]
        }
    ],
    "milestones": {
        "milestone": [
            {
                "date": "2/6/2014",
                "taskid": "12",
                "color": "#f8bd19",
                "shape": "star",
                "tooltext": "Completion of Phase 1"
            }
        ]
    },
    "legend": {
        "item": [
            {
                "label": "Planned",
                "color": "#008ee4"
            },
            {
                "label": "Actual",
                "color": "#6baa01"
            },
            {
                "label": "Slack (Delay)",
                "color": "#e44a00"
            }
        ]
    }
}
<chart caption="Construction management of a new store in Denver" subcaption="Planned vs Actual" dateformat="dd/mm/yyyy" outputdateformat="ddds mns yy" ganttwidthpercent="60" ganttpaneduration="40" ganttpanedurationunit="d" plottooltext="$processName{br} $label starting date $start{br}$label ending date $end" legendborderalpha="0" flatscrollbars="1" gridbordercolor="#333333" gridborderalpha="20" slackfillcolor="#e44a00" taskbarfillmix="light+0" theme="fusion">
    <categories bgcolor="#999999">
        <category start="1/4/2014" end="30/6/2014" label="Months" align="middle" fontcolor="#ffffff" fontsize="12" />
    </categories>
    <categories bgcolor="#999999" align="middle" fontcolor="#ffffff" fontsize="12">
        <category start="1/4/2014" end="30/4/2014" label="April" />
        <category start="1/5/2014" end="31/5/2014" label="May" />
        <category start="1/6/2014" end="30/6/2014" label="June" />
    </categories>
    <categories bgcolor="#ffffff" fontcolor="#333333" fontsize="11" align="center">
        <category start="1/4/2014" end="5/4/2014" label="Week 1" />
        <category start="6/4/2014" end="12/4/2014" label="Week 2" />
        <category start="13/4/2014" end="19/4/2014" label="Week 3" />
        <category start="20/4/2014" end="26/4/2014" label="Week 4" />
        <category start="27/4/2014" end="3/5/2014" label="Week 5" />
        <category start="4/5/2014" end="10/5/2014" label="Week 6" />
        <category start="11/5/2014" end="17/5/2014" label="Week 7" />
        <category start="18/5/2014" end="24/5/2014" label="Week 8" />
        <category start="25/5/2014" end="31/5/2014" label="Week 9" />
        <category start="1/6/2014" end="7/6/2014" label="Week 10" />
        <category start="8/6/2014" end="14/6/2014" label="Week 11" />
        <category start="15/6/2014" end="21/6/2014" label="Week 12" />
        <category start="22/6/2014" end="28/6/2014" label="Week 13" />
    </categories>
    <processes headertext="Task" fontcolor="#000000" fontsize="11" isanimated="1" bgcolor="#6baa01" headervalign="bottom" headeralign="left" headerbgcolor="#999999" headerfontcolor="#ffffff" headerfontsize="12" align="left" isbold="1" bgalpha="25">
        <process label="Clear site" id="1" />
        <process label="Excavate Foundation" id="2" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="Concrete Foundation" id="3" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="Footing to DPC" id="4" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="Drainage Services" id="5" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="Backfill" id="6" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="Ground Floor" id="7" />
        <process label="Walls on First Floor" id="8" />
        <process label="First Floor Carcass" id="9" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="First Floor Deck" id="10" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="Roof Structure" id="11" />
        <process label="Roof Covering" id="12" />
        <process label="Rainwater Gear" id="13" />
        <process label="Windows" id="14" />
        <process label="External Doors" id="15" />
        <process label="Connect Electricity" id="16" />
        <process label="Connect Water Supply" id="17" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="Install Air Conditioning" id="18" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="Interior Decoration" id="19" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="Fencing And signs" id="20" />
        <process label="Exterior Decoration" id="21" hoverbandcolor="#e44a00" hoverbandalpha="40" />
        <process label="Setup racks" id="22" />
    </processes>
    <datatable showprocessname="1" namealign="left" fontcolor="#000000" fontsize="10" valign="right" align="center" headervalign="bottom" headeralign="center" headerbgcolor="#999999" headerfontcolor="#ffffff" headerfontsize="12">
        <datacolumn bgcolor="#eeeeee" headertext="Actual{br}Start{br}Date">
            <text label="9/4/2014" />
            <text label="13/4/2014" />
            <text label="26/4/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="4/5/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="6/5/2014" />
            <text label="5/5/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="11/5/2014" />
            <text label="16/5/2014" />
            <text label="16/5/2014" />
            <text label="21/5/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="25/5/2014" />
            <text label="28/5/2014" />
            <text label="4/6/2014" />
            <text label="4/6/2014" />
            <text label="4/6/2014" />
            <text label="2/6/2014" />
            <text label="5/6/2014" />
            <text label="18/6/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="16/6/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="23/6/2014" />
            <text label="18/6/2014" />
            <text label="25/6/2014" />
        </datacolumn>
        <datacolumn bgcolor="#eeeeee" headertext="Actual{br}End{br}Date">
            <text label="12/4/2014" />
            <text label="25/4/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="4/5/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="10/5/2014" />
            <text label="10/5/2014" />
            <text label="11/5/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="14/5/2014" />
            <text label="19/5/2014" />
            <text label="21/5/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="24/5/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="27/5/2014" />
            <text label="1/6/2014" />
            <text label="6/6/2014" />
            <text label="4/6/2014" />
            <text label="4/6/2014" />
            <text label="7/6/2014" />
            <text label="17/6/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="20/6/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="23/6/2014" />
            <text label="23/6/2014" />
            <text label="23/6/2014" bgcolor="#e44a00" bgalpha="40" />
            <text label="28/6/2014" />
        </datacolumn>
    </datatable>
    <tasks>
        <task label="Planned" processid="1" start="9/4/2014" end="12/4/2014" id="1-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="1" start="9/4/2014" end="12/4/2014" id="1" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="2" start="13/4/2014" end="23/4/2014" id="2-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="2" start="13/4/2014" end="25/4/2014" id="2" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Delay" processid="2" start="23/4/2014" end="25/4/2014" id="2-2" color="#e44a00" toppadding="56%" height="32%" tooltext="Delayed by 2 days." />
        <task label="Planned" processid="3" start="23/4/2014" end="30/4/2014" id="3-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="3" start="26/4/2014" end="4/5/2014" id="3" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Delay" processid="3" start="3/5/2014" end="4/5/2014" id="3-2" color="#e44a00" toppadding="56%" height="32%" tooltext="Delayed by 1 days." />
        <task label="Planned" processid="4" start="3/5/2014" end="10/5/2014" id="4-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="4" start="4/5/2014" end="10/5/2014" id="4" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="5" start="6/5/2014" end="11/5/2014" id="5-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="5" start="6/5/2014" end="10/5/2014" id="5" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="6" start="4/5/2014" end="7/5/2014" id="6-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="6" start="5/5/2014" end="11/5/2014" id="6" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Delay" processid="6" start="7/5/2014" end="11/5/2014" id="6-2" color="#e44a00" toppadding="56%" height="32%" tooltext="Delayed by 4 days." />
        <task label="Planned" processid="7" start="11/5/2014" end="14/5/2014" id="7-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="7" start="11/5/2014" end="14/5/2014" id="7" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="8" start="16/5/2014" end="19/5/2014" id="8-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="8" start="16/5/2014" end="19/5/2014" id="8" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="9" start="16/5/2014" end="18/5/2014" id="9-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="9" start="16/5/2014" end="21/5/2014" id="9" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Delay" processid="9" start="18/5/2014" end="21/5/2014" id="9-2" color="#e44a00" toppadding="56%" height="32%" tooltext="Delayed by 3 days." />
        <task label="Planned" processid="10" start="20/5/2014" end="23/5/2014" id="10-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="10" start="21/5/2014" end="24/5/2014" id="10" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Delay" processid="10" start="23/5/2014" end="24/5/2014" id="10-2" color="#e44a00" toppadding="56%" height="32%" tooltext="Delayed by 1 days." />
        <task label="Planned" processid="11" start="25/5/2014" end="27/5/2014" id="11-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="11" start="25/5/2014" end="27/5/2014" id="11" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="12" start="28/5/2014" end="1/6/2014" id="12-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="12" start="28/5/2014" end="1/6/2014" id="12" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="13" start="4/6/2014" end="6/6/2014" id="13-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="13" start="4/6/2014" end="6/6/2014" id="13" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="14" start="4/6/2014" end="4/6/2014" id="14-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="14" start="4/6/2014" end="4/6/2014" id="14" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="15" start="4/6/2014" end="4/6/2014" id="15-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="15" start="4/6/2014" end="4/6/2014" id="15" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="16" start="2/6/2014" end="7/6/2014" id="16-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="16" start="2/6/2014" end="7/6/2014" id="16" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="17" start="5/6/2014" end="10/6/2014" id="17-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="17" start="5/6/2014" end="17/6/2014" id="17" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Delay" processid="17" start="10/6/2014" end="17/6/2014" id="17-2" color="#e44a00" toppadding="56%" height="32%" tooltext="Delayed by 7 days." />
        <task label="Planned" processid="18" start="10/6/2014" end="12/6/2014" id="18-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Delay" processid="18" start="18/6/2014" end="20/6/2014" id="18" color="#e44a00" toppadding="56%" height="32%" tooltext="Delayed by 8 days." />
        <task label="Planned" processid="19" start="15/6/2014" end="23/6/2014" id="19-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="19" start="16/6/2014" end="23/6/2014" id="19" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="20" start="23/6/2014" end="23/6/2014" id="20-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="20" start="23/6/2014" end="23/6/2014" id="20" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Planned" processid="21" start="18/6/2014" end="21/6/2014" id="21-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="21" start="18/6/2014" end="23/6/2014" id="21" color="#6baa01" toppadding="56%" height="32%" />
        <task label="Delay" processid="21" start="21/6/2014" end="23/6/2014" id="21-2" color="#e44a00" toppadding="56%" height="32%" tooltext="Delayed by 2 days." />
        <task label="Planned" processid="22" start="24/6/2014" end="28/6/2014" id="22-1" color="#008ee4" height="32%" toppadding="12%" />
        <task label="Actual" processid="22" start="25/6/2014" end="28/6/2014" id="22" color="#6baa01" toppadding="56%" height="32%" />
    </tasks>
    <connectors>
        <connector fromtaskid="1" totaskid="2" color="#008ee4" thickness="2" fromtaskconnectstart_="1" />
        <connector fromtaskid="2-2" totaskid="3" color="#008ee4" thickness="2" />
        <connector fromtaskid="3-2" totaskid="4" color="#008ee4" thickness="2" />
        <connector fromtaskid="3-2" totaskid="6" color="#008ee4" thickness="2" />
        <connector fromtaskid="7" totaskid="8" color="#008ee4" thickness="2" />
        <connector fromtaskid="7" totaskid="9" color="#008ee4" thickness="2" />
        <connector fromtaskid="12" totaskid="16" color="#008ee4" thickness="2" />
        <connector fromtaskid="12" totaskid="17" color="#008ee4" thickness="2" />
        <connector fromtaskid="17-2" totaskid="18" color="#008ee4" thickness="2" />
        <connector fromtaskid="19" totaskid="22" color="#008ee4" thickness="2" />
    </connectors>
    <milestones>
        <milestone date="2/6/2014" taskid="12" color="#f8bd19" shape="star" tooltext="Completion of Phase 1" />
    </milestones>
    <legend>
        <item label="Planned" color="#008ee4" />
        <item label="Actual" color="#6baa01" />
        <item label="Slack (Delay)" color="#e44a00" />
    </legend>
</chart>

Chart Atributes

Functional Attributes

These attributes let you control a variety of functional elements on the chart. For example, you can opt to show/hide data labels, data values. You can also set chart limits and extended properties.

chart : {
dateFormat : Date [+]

This attribute helps you specify the input date format for all the dates in your XML. This is a mandatory attribute to specify and once specified, all the dates in your XML data should conform to the format specified herein.

Range: 'mm/dd/yyyy' or 'dd/mm/yyyy' or 'yyyy/mm/dd' or 'mm-dd-yyyy' or 'dd-mm-yyyy' or 'yyyy-mm-dd'

outputDateFormat : String [+]

You can also specify how the dates look on your Gantt chart using this attribute. This attribute takes the output date format as string. You can build your own output date format string as explained in the section "Configuring date formats".

ganttPaneDuration : Number [+]

If you want your Gantt pane to scroll through a specified time line, you can use this attribute to set what timeline the pane will represent. For example, if you want your Gantt pane to show date only for 3 months and then scroll the rest, you can set this attribute as 3. More of this has been explained in the section "Enable scrolling".

ganttPaneDurationUnit : String [+]

If you've opted to scroll the Gantt pane, this attribute lets you choose the unit of your specified duration. More of this has been explained in the section "Enable scrolling".

Range: 'y','m','d','h','mn' or 's'

showFullDataTable : Boolean [+]

Whether to show full names of the process labels and data columns in grid. If you set this as on, the labels will not wrap and always show in full. When required, a scroll bar will automatically appear for the entire grid.

Range: 0/1

ganttWidthPercent : Number [+]

You can opt to set the width of the Gantt view pane in percent using this attribute. The rest of the width will be taken by the grid. If the data grid takes lesser space, the chart will automatically adjust the Gantt pane to assume more width.

Range: 10 - 100

forceGanttWidthPercent : Boolean [+]

If you want the chart to never automatically adjust the Gantt width and stick to the percent width that you've specified, you can set this attribute to 1.

Range: 0/1

caption : String [+]

Caption for the chart.

subCaption : String [+]

Sub-caption for the chart.

showTaskStartDate : Boolean [+]

For each task bar in the Gantt chart, you can show its respective start date on its left. To do so, set this attribute as 1.

Range: 0/1

showTaskEndDate : Boolean [+]

For each task bar in the Gantt chart, you can show its end date value too by setting this attribute as 1.

Range: 0/1

showTaskLabels : Boolean [+]

Whether to show task labels for each task bar in the Gantt chart. The task labels show up only if they've been defined for the task.

Range: 0/1

showPercentLabel : Boolean [+]

If you've used the percentage task feature, you can opt to show the percent complete for each task as part of the task label by setting this attribute as 1.

Range: 0/1

showSlackAsFill : Boolean [+]

If you've used the percentage task feature, you can opt to show the slack (percent of work not completed) as either a filled bar or empty bar. To draw as empty bars, set this attribute as 0.

Range: 0/1

slackFillColor : Color [+]

If you've opted to fill the slack bars with color, you can define the color code for the same here.

Range: Hex Color Code

animation : Boolean [+]

Whether to animate the chart while rendering? If you define this attribute as 0, even your custom defined Style animations will not work.

Range: 0/1

animationDuration : Number [+]

This attribute sets the animation duration of the chart. animationDuration attribute is applicable only if animation of the chart is enabled.

Default value: 1 sec

Range: In seconds

clickURL : String URL [+]

Click URL for the entire chart. The entire chart can then act as a hotspot. This URL can be provided in FusionCharts Link format.

clickURLOverridesPlotLinks : Boolean [+] 3.7.0

Sets whether the clickURL attribute (that sets a link to which the user is directed when the chart is clicked) overrides the link attribute (that sets a link to which the user is directed when a data plot is clicked).

Default value: 0 (clickURL does not override link)

Range: 0/1

extendCategoryBg : Boolean [+]

If you set this attribute as 1, the Gantt pane grid will take the same background and border properties as that of the last category (visual dateline) defined.

Range: 0/1

showPrintMenuItem : Boolean [+]

Whether to show "Print Chart" item in the context menu of the chart? Even if you opt to hide the item in context menu, you can still opt to invoke print() JavaScript method of the chart to print the same.

Range: 0/1

scrollToDate : Date [+]

Chart will automatically scroll to the given date at the time of rendering. This attribute will only work when ganttPaneDuration and ganttPaneDurationUnit attributes are set as per requirement. This feature is supported by JavaScript Gantt chart only.

Range: 'mm/dd/yyyy'

useVerticalScrolling : Boolean [+]

Whether to display the vertical scroll bar or not. By default, the attribute is set to 1 and the vertical scroll bar appears depending on the height of the chart. More of this has been explained in the section "Enable scrolling". This feature is supported by JavaScript Gantt chart only.

Range: 0/1

forceRowHeight : Boolean [+] 3.5.0

When the process rows do not occupy the complete height of the chart, this attribute is used to specify the row height configuration. If set to true, each row is set to its own height. Otherwise, the rows occupy the total available height equally. Default value is false.

Range: 0/1

}

These attributes let you set and configure custom chart messages, using text as well as images. These attributes are supported in FusionCharts constructor (FusionCharts({ })).

FusionCharts : {
baseChartMessageFont : String [+] 3.5.0

This attribute allows to set a custom font for all chart messages.

baseChartMessageFontSize : Number [+] 3.5.0

This attribute allows to set a custom font size for all chart messages.

Range: In pixels

baseChartMessageColor : Color [+] 3.5.0

This attribute allows to set a custom font color for all chart messages.

Range: Hex Color Code

baseChartMessageImageHAlign : String [+] 3.7.0

This attribute allows to set a custom horizontal alignment for all images displayed as chart messages.

Default value: middle

Range: left, middle, right

baseChartMessageImageVAlign : String [+] 3.7.0

This attribute allows to set a custom vertical alignment for all images displayed as chart messages.

Default value: middle

Range: top, middle, bottom

baseChartMessageImageAlpha : Number [+] 3.7.0

This attribute allows to set a transparency for all images displayed as chart messages.

Default value: 100

Range: 0 - 100

baseChartMessageImageScale : Number [+] 3.7.0

This attribute allows to set a scale for magnifying all images displayed as chart messages.

Default value: 100

Range: 0-300

loadMessage : String [+] 3.7.0

This attribute allows to set the message to be displayed when a chart begins to load. To display an image as the chart message, prefix I- to the image URL.

loadMessageFont : String [+] 3.5.0

This attribute allows to set the font for the message displayed when a chart begins to load.

Range: Font Name

loadMessageFontSize : Number [+] 3.5.0

This attribute allows to set the font size for the message displayed when a chart begins to load.

Range: In pixels

loadMessageColor : Color [+] 3.5.0

This attribute allows to set the font color for the message displayed when a chart begins to load.

Range: Hex Color Code

loadMessageImageHAlign : String [+] 3.7.0

If an image is displayed as the chart loadMessage, this attribute allows to set a custom horizontal alignment for the image.

Default value: value assigned to the baseChartMessageImageHAlign attribute

Range: left, middle, right

loadMessageImageVAlign : String [+] 3.7.0

If an image is displayed as the chart loadMessage, this attribute allows to set a custom vertical alignment for the image.

Default value: value assigned to the baseChartMessageImageVAlign attribute

Range: top, middle, bottom

loadMessageImageAlpha : Number [+] 3.7.0

If an image is displayed as the chart loadMessage, this attribute allows to set the transparency of the image.

Default value: 100

Range: 0 - 100

loadMessageImageScale : Number [+] 3.7.0

If an image is displayed as the chart loadMessage, this attribute allows to set the scale for magnifying the image.

Default value: 100

Range: 0-300

typeNotSupportedMessage : String [+] 3.7.0

This attribute allows to set the message to be displayed when the specified chart type is not supported. To display an image as the chart message, prefix I- to the image URL.

typeNotSupportedMessageFont : String [+] 3.5.0

This attribute allows to set the font for the message displayed when the specified chart type is not supported.

Range: Font Name

typeNotSupportedMessageFontSize : Number [+] 3.5.0

This attribute allows to set the font size for the message displayed when the specified chart type is not supported.

Range: In pixels

typeNotSupportedMessageColor : Color [+] 3.5.0

This attribute allows to set the font color for the message displayed when the specified chart type is not supported.

Range: Hex Color Code

typeNotSupportedMessageImageHAlign : String [+] 3.7.0

If an image is displayed as the chart typeNotSupportedMessage, this attribute allows to set a custom horizontal alignment for the image.

Default value: value assigned to the baseChartMessageImageHAlign attribute

Range: left, middle, right

typeNotSupportedMessageImageVAlign : String [+] 3.7.0

If an image is displayed as the chart typeNotSupportedMessage, this attribute allows to set a custom vertical alignment for the image.

Default value: value assigned to the baseChartMessageImageVAlign attribute

Range: top, middle, bottom

typeNotSupportedMessageImageAlpha : Number [+] 3.7.0

If an image is displayed as the chart typeNotSupportedMessage, this attribute allows to set the transparency of the image.

Default value: 100

Range: 0 - 100

typeNotSupportedMessageImageScale : Number [+] 3.7.0

If an image is displayed as the chart typeNotSupportedMessage, this attribute allows to set the scale for magnifying the image.

Default value: 100

Range: 0-300

renderErrorMessage : String [+] 3.7.0

This attribute allows to set the message to be displayed if an error is encountered while rendering the chart. To display an image as the chart message, prefix I- to the image URL.

renderErrorMessageFont : String [+] 3.5.0

This attribute allows to set a font for the message displayed if an error is encountered while rendering the chart.

Range: Font Name

renderErrorMessageFontSize : Number [+] 3.5.0

This attribute allows to set the font size for the message displayed if an error is encountered while rendering the chart.

Range: In pixels

renderErrorMessageColor : Color [+] 3.5.0

This attribute allows to set the font color for the message displayed if an error is encountered while rendering the chart.

Range: Hex Color Code

renderErrorMessageImageHAlign : String [+] 3.7.0

If an image is displayed as the chart renderErrorMessage, this attribute allows to set a custom horizontal alignment for the image.

Default value: value assigned to the baseChartMessageImageHAlign attribute

Range: left, middle, right

renderErrorMessageImageVAlign : String [+] 3.7.0

If an image is displayed as the chart renderErrorMessage, this attribute allows to set a custom vertical alignment for the image.

Default value: value assigned to the baseChartMessageImageVAlign attribute

Range: top, middle, bottom

renderErrorMessageImageAlpha : Number [+] 3.7.0

If an image is displayed as the chart renderErrorMessage, this attribute allows to set the transparency of the image.

Default value: 100

Range: 0 - 100

renderErrorMessageImageScale : Number [+] 3.7.0

If an image is displayed as the chart renderErrorMessage, this attribute allows to set the scale for magnifying the image.

Default value: 100

Range: 0-300

dataLoadStartMessage : String [+] 3.7.0

This attribute allows to set the message to be displayed when chart data begins loading. To display an image as the chart message, prefix I- to the image URL.

dataLoadStartMessageFont : String [+] 3.5.0

This attribute allows to set a font for the message displayed when chart data begins loading.

Range: Font Name

dataLoadStartMessageFontSize : String [+] 3.5.0

This attribute allows to set the font size for the message displayed when chart data begins loading.

Range: In pixels

dataLoadStartMessageColor : Color [+] 3.5.0

This attribute allows to set the font color for the message displayed when chart data begins loading.

Range: Hex Color Code

dataLoadStartMessageImageHAlign : String [+] 3.7.0

If an image is displayed as the chart dataLoadStartMessage, this attribute allows to set a custom horizontal alignment for the image.

Default value: value assigned to the baseChartMessageImageHAlign attribute

Range: left, middle, right

dataLoadStartMessageImageVAlign : String [+] 3.7.0

If an image is displayed as the chart dataLoadStartMessage, this attribute allows to set a custom vertical alignment for the image.

Default value: value assigned to the baseChartMessageImageVAlign attribute

Range: top, middle, bottom

dataLoadStartMessageImageAlpha : Number [+] 3.7.0

If an image is displayed as the chart dataLoadStartMessage, this attribute allows to set the transparency of the image.

Default value: 100

Range: 0 - 100

dataLoadStartMessageImageScale : Number [+] 3.7.0

If an image is displayed as the chart dataLoadStartMessage, this attribute allows to set the scale for magnifying the image.

Default value: 100

Range: 0-300

dataEmptyMessage : String [+] 3.7.0

This attribute allows to set the message to be displayed if the data loaded for a chart is empty. To display an image as the chart message, prefix I- to the image URL.

dataEmptyMessageFont : String [+] 3.5.0

This attribute allows to set the font for the message displayed if the data loaded for a chart is empty

Range: Font Name

dataEmptyMessageFontSize : Number [+] 3.5.0

This attribute allows to set the font size for the message displayed if the data loaded for a chart is empty.

Range: In pixels

dataEmptyMessageColor : Color [+] 3.5.0

This attribute allows to set the font color for the message displayed if the data loaded for a chart is empty.

Range: Hex Color Code

dataEmptyMessageImageHAlign : String [+] 3.7.0

If an image is displayed as the chart dataEmptyMessage, this attribute allows to set a custom horizontal alignment for the image.

Default value: value assigned to the baseChartMessageImageHAlign attribute

Range: left, middle, right

dataEmptyMessageImageVAlign : String [+] 3.7.0

If an image is displayed as the chart dataEmptyMessage, this attribute allows to set a custom vertical alignment for the image.

Default value: value assigned to the baseChartMessageImageVAlign attribute

Range: top, middle, bottom

dataEmptyMessageImageAlpha : Number [+] 3.7.0

If an image is displayed as the chart dataEmptyMessage, this attribute allows to set the transparency of the image.

Default value: 100

Range: 0 - 100

dataEmptyMessageImageScale : Number [+] 3.7.0

If an image is displayed as the chart dataEmptyMessage, this attribute allows to set the scale for magnifying the image.

Default value: 100

Range: 0-300

dataLoadErrorMessage : String [+] 3.7.0

This attribute allows to set the message to be displayed if an error is encountered while loading chart data. To display an image as the chart message, prefix I- to the image URL.

dataLoadErrorMessageFont : String [+] 3.5.0

This attribute allows to set a font for the message displayed if an error is encountered while loading chart data.

Range: Font Name

dataLoadErrorMessageFontSize : Number [+] 3.5.0

This attribute allows to set the font size for the message displayed if an error is encountered while loading chart data.

Range: In pixels

dataLoadErrorMessageColor : Color [+] 3.5.0

This attribute allows to set the font color for the message displayed if an error is encountered while loading chart data.

Range: Hex Color Code

dataLoadErrorMessageImageHAlign : String [+] 3.7.0

If an image is displayed as the chart dataLoadErrorMessage, this attribute allows to set a custom horizontal alignment for the image.

Default value: value assigned to the baseChartMessageImageHAlign attribute

Range: left, middle, right

dataLoadErrorMessageImageVAlign : String [+] 3.7.0

If an image is displayed as the chart dataLoadErrorMessage, this attribute allows to set a custom vertical alignment for the image.

Default value: value assigned to the baseChartMessageImageVAlign attribute

Range: top, middle, bottom

dataLoadErrorMessageImageAlpha : Number [+] 3.7.0

If an image is displayed as the chart dataLoadErrorMessage, this attribute allows to set the transparency of the image.

Default value: 100

Range: 0 - 100

dataLoadErrorMessageImageScale : Number [+] 3.7.0

If an image is displayed as the chart dataLoadErrorMessage, this attribute allows to set the scale for magnifying the image.

Default value: 100

Range: 0-300

dataInvalidMessage : String [+] 3.7.0

This attribute allows to set the message to be displayed if the data to be loaded for the chart is invalid. To display an image as the chart message, prefix I- to the image URL.

dataInvalidMessageFont : String [+] 3.5.0

This attribute allows to set the font for the message displayed if the specified chart data is invalid.

Range: Font Name

dataInvalidMessageFontSize : Number [+] 3.5.0

This attribute allows to set the font size for the message displayed if the specified chart data is invalid.

Range: In pixels

dataInvalidMessageColor : Color [+] 3.5.0

This attribute allows to set the font color for the message displayed if the specified chart data is invalid.

Range: Hex Color Code

dataInvalidMessageImageHAlign : String [+] 3.7.0

If an image is displayed as the chart dataInvalidMessage, this attribute allows to set a custom horizontal alignment for the image.

Default value: value assigned to the baseChartMessageImageHAlign attribute

Range: left, middle, right

dataInvalidMessageImageVAlign : String [+] 3.7.0

If an image is displayed as the chart dataInvalidMessage, this attribute allows to set a custom vertical alignment for the image.

Default value: value assigned to the baseChartMessageImageVAlign attribute

Range: top, middle, bottom

dataInvalidMessageImageAlpha : Number [+] 3.7.0

If an image is displayed as the chart dataInvalidMessage, this attribute allows to set the transparency of the image.

Default value: 100

Range: 0 - 100

dataInvalidMessageImageScale : Number [+] 3.7.0

If an image is displayed as the chart dataInvalidMessage, this attribute allows to set the scale for magnifying the image.

Default value: 100

Range: 0-300

}
Chart Titles and Axis Names

Using these attributes, you can set the various headings and titles of chart like caption, sub-caption.

chart : {
caption : String [+]

Caption of the chart.

subCaption : String [+]

Sub-caption of the chart.

}
Chart Caption Cosmetics

These attributes let you configure the cosmetics of chart caption and sub-caption.

chart : {
captionAlignment : String [+]

Sets horizontal alignment of caption

Range: "left", "center", "right"

captionOnTop : Boolean [+]

Whether caption should be on top of the data plot area

Range: 0/1

captionFontSize : Number [+]

Sets the caption font size in pixels. Besides pixels (px) values can also be defined in rem, %, em, and vw.

Range: 6 - 72

subCaptionFontSize : Number [+]

Sets the sub-caption font size (in pixels). Besides pixels (px) values can also be defined in rem, %, em, and vw.

Range: 6 - 72

captionFont : String [+]

Sets the caption font family

Range: Font Name

subCaptionFont : String [+]

Sets the sub-caption font family

Range: Font Name

captionFontColor : Color [+]

Sets the caption font color

Range: Hex Color Code

subCaptionFontColor : Color [+]

Sets the sub-caption font color

Range: Hex Color Code

captionFontBold : Boolean [+]

Whether the caption font should be displayed in bold

Range: 0/1

subCaptionFontBold : Boolean [+]

Whether the sub caption font should be displayed in bold

Range: 0/1

alignCaptionWithCanvas : Boolean [+]

Whether the caption is aligned with the canvas. Else, it will be aligned with the entire chart area

Range: 0/1

captionHorizontalPadding : Number [+]

If caption is not centre aligned, lets you configure the padding (in pixels) from either edge. Will be ignored if caption is centre aligned.

Range: In Pixels

hasRTLText : Number [+] 3.7.0

This attribute, when set to 1, indicates to the chart that the text (rendered on the chart) may contain RTL characters and the textual display has to be managed accordingly.

plotHighlightEffect : String [+]

This attribute lets you enable/disable the highlight effect, in the form of a fadeout, for the data plots corresponding to a legend item. When this attribute is enabled and the mouse pointer is hovered over a legend item label, plots belonging to the other data series fadeout, by reducing their opacity.

The fadeout effect can be customized by specifying the fadeout color and opacity using the color and alpha attributes. Eg. fadeout|color=#ff0000, alpha=60

theme : String [+]

This attribute changes the theme of the chart. There are 7 types of themes which have been made according to the different color combinations.

Range: 'fusion', 'gammel', 'candy', 'ocean', 'zune', 'carbon', 'umber'

}
Cosmetic properties

The following attributes let you configure chart cosmetics like background color, background alpha, canvas color & alpha etc.

chart : {
palette : Number [+]

Which pre-defined color palette to use

Range: 1-5

paletteThemeColor : Color [+]

If you want your own palette derived from a particular hex color, you can specify the same here. All other colors on the chart will automatically derive from that palette.

Range: Hex Color Code

bgColor : Color [+]

This attribute sets the background color for the chart. You can set any hex color code as the value of this attribute. To specify a gradient as background color, separate the hex color codes of each color in the gradient using comma. Example: FF5904, FFFFFF. Remember to remove # and any spaces in between.

Range: Hex Color Code

bgAlpha : Number [+]

Sets the alpha (transparency) for the background. If you've opted for gradient background, you need to set a list of alpha(s) separated by comma.

Range: 0 - 100

bgRatio : String of numbers [+]

If you've opted for a gradient background, this attribute lets you set the ratio of each color constituent.

Range: 0 - 100

bgAngle : Number [+]

Angle of the background color, in case of a gradient.

Range: 0-360

showBorder : Boolean [+]

Whether to show a border around the chart or not?

Range: 0/1

borderColor : Color [+]

Border color of the chart.

Range: Hex Color Code

borderThickness : Number [+]

Border thickness of the chart.

borderAlpha : Number [+]

Border alpha of the chart.

Range: 0 - 100

bgImage : String [+]

To place any image (JPG/PNG/GIF) as background of the chart, enter the (path and) name of the background image. It should be in the same domain as the chart.

bgImageAlpha : Number [+]

This attribute specifies the opacity for the loaded background image.

Range: 0 - 100

bgImageDisplayMode : String [+] 3.2

Helps you specify the mode in which the background image is to be displayed. Stretch - expands the image to fit the entire chart area, without maintaining original image constraints. Tile - the image is repeated as a pattern on the entire chart area. Fit - fits the image proportionately on the chart area. Fill -proportionately fills the entire chart area with the image. Center - the image is positioned at the center of the chart area. None - Default mode.

Range: 'stretch', 'tile', 'fit', 'fill', 'center', 'none'

bgImageVAlign : String [+] 3.2

Helps you to vertically align the background image.

Range: 'top', 'middle', 'bottom'

bgImageHAlign : String [+] 3.2

Helps you to horizontally align the background image.

Range: 'left', 'middle', 'right'

bgImageScale : Number [+] 3.2

Helps you magnify the background image.This attribute will only work when the attribute bgImageDisplayMode is set to none, center, or tile.

Range: 0-300

showcanvasborder : Boolean [+]

This attribute if set to _1_, shows a border around the canvas of the chart.

Default value: 0

Range: 0/1

canvasBgColor : Color [+]

This attribute sets the background color for the chart canvas. You can set any hex color code as the value of this attribute. To specify a gradient as canvas background color, separate the hex color codes of each color in the gradient using comma. Example: #FF5904, #FFFFFF.

Range: Hex Color Code

canvasBgAlpha : Number [+]

This attribute sets the background transparency for the chart canvas. For gradient, separate the alpha value using comma. Example: 15, 50.

Range: 0 - 100

canvasBgRatio : Numbers separated by comma [+]

When a gradient is used to set the color of the canvas background, this attribute sets the ratio of the colors. Example : If the value of the canvasBgColor attribute is set as #FF5904, #FFFFFF, canvasBgRatio can be used to specify their ratio in the background.

Range: 0 - 100

canvasBgAngle : Number [+]

Helps you specify canvas background angle in case of gradient.

Range: 0-360

canvasBorderColor : Color [+]

Lets you specify canvas border color.

Range: Hex Color Code

canvasBorderThickness : Number [+]

Lets you specify canvas border thickness.

Range: In pixels

canvasBorderAlpha : Number [+]

Lets you control transparency of canvas border.

Range: 0 - 100

ganttLineColor : Color [+]

Lets you specify the color in which the grid border for the Gantt pane view will be drawn.

Range: Hex Color Code

ganttLineAlpha : Number [+]

Alpha for the grid border of Gantt view pane.

Range: 0 - 100

gridBorderColor : Color [+]

Color for the data grid border.

Range: Hex Color Code

gridBorderAlpha : Number [+]

Alpha for the data grid border.

Range: 0 - 100

gridResizeBarColor : Color [+]

Color for the drag line that appears when resizing the data grid.

Range: Hex Color Code

gridResizeBarThickness : Number [+]

Thickness of the drag line that appears when resizing the data grid,

gridResizeBarAlpha : Number [+]

Alpha of the drag line that appears when resizing the data grid.

Range: 0 - 100

taskBarRoundRadius : Number [+]

If you want your task bars to be rounded (when not using percent complete feature), you can set the radius of the round corner here. That'll result in all task bars having rounded corners.

taskBarFillMix : String [+]

This attribute lets you specify the gradient fill formula for the task bars. Example: {light-10},{light-20},{light-60}

taskBarFillRatio : Numbers separated by comma [+]

If you're using gradient fill formula for the task bars, this attribute lets you specify the ratio for each color in the gradient.

baseFont : Font face name [+]

Global font face for all text on the chart. You can individually customize font properties of each element using their respective attributes or Styles.

baseFontSize : Number [+]

Global font size for all text on the chart. Besides pixels (px) values can also be defined in rem, %, em, and vw.

baseFontColor : Color [+]

Global font color for all text on the chart.

Range: Hex Color Code

showShadow : Boolean [+]

Whether to apply the shadow effect for the task bars?

Range: 0/1

logoURL : String [+]

You can load an external logo (JPEG/PNG) to your chart, this attribute lets you specify the URL. Due to cross domain security restrictions it is advised to use a logo from the same domain name as your charts.

logoLeftMargin : Number [+]

This attribute helps you set the amount of empty space that you want to put on the left side of your logo image. Nothing is rendered in this space.

Range: In Pixels

logoTopMargin : Number [+]

This attribute helps you set the amount of empty space that you want to put on top of your logo image. Nothing is rendered in this space.

Range: In Pixels

logoPosition : String [+]

Where to position the logo on the chart: TL - Top-left TR - Top-right BR - Bottom right BL - Bottom left CC - Center of screen

Range: 'TL', 'TR', 'BL', 'BR', 'CC'

logoAlpha : Number [+]

Once the logo has loaded on the chart, you can configure its opacity using this attribute.

Range: 0 - 100

logoScale : Number [+]

You can also change the size of externally loaded logo at run-time by specifying a value for this parameter.

Range: 0 - 100

logoLink : String [+]

If you want to link the logo to an external URL, specify the link in this attribute. The link can be in FusionCharts link format, allowing you to link to new windows, pop-ups, frames etc.

manageResize : Boolean [+] 3.2

Setting this attribute to 1, you can allow the chart to automatically resize itself when the parent container of the chart is resized.

Range: 0/1

useEllipsesWhenOverflow : Boolean [+] 3.2

When enabled in AUTO mode, long data labels are truncated by adding ellipses to prevent them from overflowing the chart background. The default value is 1.

Range: 0/1

}
Tooltip properties

These attributes let you control the tooltip. You can set the background color, border color, separator character and few other details.

chart : {
showToolTip : Boolean [+]

Whether to show tooltip for the chart?

Range: 0/1

toolTipBgColor : Color [+]

Background color for the tooltip

Range: Hex Color Code

toolTipColor : Color [+]

Font color for the tool-tip.

Range: Hex Color Code

toolTipBorderColor : Color [+]

Border Color for the tooltip.

Range: Hex Color Code

tooltipBorderAlpha : Number [+]

Sets the border transparency for tool tip.

Range: 0 - 100

dateInToolTip : Boolean [+]

Whether to show starting and ending date for each task in tooltip?

Range: 0/1

showToolTipShadow : Boolean [+]

Whether to show shadow for tooltips.

Range: 0/1

plottooltext : String [+]

Specify custom text for the tooltip

You can either specify a constant string as the tooltip text or you can use variable values from the data level by prefixing a $ to the attribute name, for example, $name, $value.

tooltipPosition : String [+]

Configure the tooltip's position.

Range: auto, top and bottom

}
Toolbar Attributes

Using this set of attributes, you can customize the toolbar on the chart. The advantage of having a toolbar is that it manages all the UI action elements (context menus, checkboxes, buttons) centrally. This provides a clean, uniform look and a better, more meaningful and logical grouping.

chart : {
toolbarPosition : String [+] 3.11.3

Where to position the toolbar on the chart: TL - Top-left TR - Top-right BR - Bottom right BL - Bottom left CC - Center of screen

Range: TL, TR, BL, BR, CC

toolbarX : Number [+] 3.11.3

Sets the toolbox position on the chart with respect to x-axis.

toolbarY : Number [+] 3.11.3

Sets the toolbox position on the chart with respect to y-axis.

toolbarHAlign : String [+] 3.11.3

Sets the horizontal alignment of the toolbar on the chart.

Range: Left, Right

toolbarVAlign : String [+] 3.11.3

Sets the vertical alignment of the toolbar on the chart

Range: Top, Bottom

toolbarButtonColor : Color [+]

Sets the color of the toolbar buttons.

Range: Any (color code without the # prefix)

showToolBarButtonTooltext : Boolean [+]

Enables/disables display of tooltips for toolbar buttons.

Range: 0/1

toolbarButtonScale : Number [+]

You can change the scale of the toolbar by specifying a value for this attribute.

}
Attributes for Exporting Charts

These attributes allow you to control the saving of chart as image, SVG or XLSX.

chart : {
exportEnabled : Boolean [+]

Whether the chart will allow exporting to images, PDFs, SVG, XLSX or CSV format.

Default value: 0

Range: 0/1

exportAction : String [+]

In case of server-side exporting, the action specifies whether the exported image will be sent back to client as download, or whether it'll be saved on the server.

Default value: download

Range: 'save' or 'download'

exportHandler : String [+]

In case of server side exporting, this refers to the path of the server-side export handler (the ready-to-use scripts that we provide).

exportFormats : String [+]

Lets you configure what output formats to allow for export of chart, in the export context menu, and also customize the label for each menu item. The attribute value should be a pipe (|) delimited separated key-value pair. Example: exportFormats: 'PNG=Export as High Quality Image&#124;JPG&#124;PDF=Export as PDF File'

exportMode : String [+] 3.12.1

This attributes sets the modes of export. To enable client-side exporting, set this attribute to client.

Default value: auto.

Note: Starting v3.12.1, the exportMode attribute replaces the exportAtClientSide attribute. However, you don’t need to make any changes to the existing setup because, the FusionCharts library comes with the proper mapping already provided.

exportShowMenuItem : Boolean [+]

Whether the menu items related to export (e.g., Save as JPEG etc.) will appear in the context menu of chart.

Range: 0/1

exportTargetWindow : String [+]

In case of server-side exporting and when using download as action, this lefts you configure whether the return image, PDF, SVG or XLSX will open in same window (as an attachment for download), or whether it will open in a new window.

Default value: _self

Range: '_self' or '_blank'

exportFileName : String [+]

Using this attribute you can specify the name (excluding the extension) of the output (export) file.

}
Data Plot Hover Effects

If you wish to show an effect on the data plot when the user hovers his mouse over the data plot, these attributes let you configure the cosmetics of the hover for all data plots in the chart.

chart : {
showHoverEffect : Boolean [+]

Whether to enable hover effect on charts for all elements

Range: 0/1

plotHoverEffect : Boolean [+]

Whether to enable hover effect on charts for data plots (e.g., column, pie) only

Range: 0/1

plotFillHoverColor : Color [+]

Specifies the hover color for the data plots

Range: Hex Color Code

plotFillHoverAlpha : Number [+]

Specifies the hover alpha for data plots

Range: 1 - 100

showHoverBand : Boolean [+]

Whether to show the vertical and horizontal hover band for both the categories and the processes objects. This atrribute overrides the value of showHoverEffect attribute. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

showHoverEffect : Boolean [+]

When set to 0, disables all the hover bands and hover effects all over the chart. The value of this attribute is overridden by the value of showHoverBand, showProcessHoverBand and showCategoryHoverBand attributes. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

hoverBandColor : Color [+]

Lets you set the hover band color of both the categories and the processes objects. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

hoverBandAlpha : Number [+]

Lets you set the transparency of the hover band for both the categories and the processes objects. This feature is supported by JavaScript Gantt chart only.

Range: 1 - 100

showCategoryHoverBand : Boolean [+]

Whether to show the vertical color band on mouse hover for the categories object. The value of this attribute overrides the value of the showHoverEffect attribute. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

categoryHoverBandColor : Color [+]

Lets you set the hover band color for multiple categories objects. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

categoryHoverBandAlpha : Number [+]

Lets you set the transparency of the hover band for multiple categories objects. This feature is supported by JavaScript Gantt chart only.

Range: 1 - 100

showGanttPaneVerticalHoverBand : Boolean [+]

Whether to show the color band of Gantt pane on mouse hover for multiple categories objects. The value of this attribute overrides the value showHoverEffect attribute. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

showProcessHoverBand : Boolean [+]

Whether to show the horizontal hover band for the processes object on mouse hover. The value of this attribute overrides the value showHoverEffect attribute. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

processHoverBandColor : Color [+]

Lets you set the hover band color for all processes objects. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

processHoverBandAlpha : Number [+]

Lets you set the transparency of the hover band for all processes objects. This feature is supported by JavaScript Gantt chart only.

Range: 0 - 100

showGanttPaneHorizontalHoverBand : Boolean [+]

Whether to show the hover bands for the processes object of the Gantt pane on mouse hover. The value of this attribute overrides the value showHoverEffect attribute. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

showConnectorHoverEffect : Boolean [+]

Whether to display the mouse hover effect on connector lines. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

connectorHoverColor : Color [+]

Lets you set the hover color of the connector lines. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

connectorHoverAlpha : Number [+]

Lets you set the transparency of the hover color of the connector lines. This feature is supported by JavaScript Gantt chart only.

Range: 1 - 100

connectorHoverThickness : Number [+]

Lets you set the thickness of the connector lines after the mouse cursor hover. This feature is supported by JavaScript Gantt chart only.

showTaskHoverEffect : Boolean [+]

Whether to use the mouse hover effect of task bars. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

taskHoverFillColor : Boolean [+]

Lets you set the color of task fill on mouse hover. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

taskHoverFillAlpha : Number [+]

Lets you set the transparency of the task fill on mouse hover. This feature is supported by JavaScript Gantt chart only.

Range: 1 - 100

slackHoverFillColor : Color [+]

Lets you set the hover color of the task bar slack. This attribute is not applicable when showSlackAsFill is set to 0. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

slackHoverFillAlpha : Number [+]

Lets you set the transparency of the hover color of the task bar slack fill. This attribute is not applicable when showSlackAsFill is set to 0. This feature is supported by JavaScript Gantt chart only.

Range: 1 - 100

}
Legend properties

The following attributes let you configure the legend properties:

chart : {
showLegend : Boolean [+]

Whether to show legend for the chart?

Range: 0/1

legendCaption : String [+]

Text caption for the legend.

legendBorderColor : Color [+]

Border Color for the legend.

Range: Hex Color Code

legendBorderThickness : Number [+]

Border thickness for the legend.

legendBorderAlpha : Number [+]

Border alpha for the legend.

Range: 0 - 100

legendBgColor : Color [+]

Background color for the legend.

Range: Hex Color Code

legendBgAlpha : Number [+]

Background alpha for the legend.

Range: 0 - 100

legendShadow : Boolean [+]

Whether to show a shadow for legend?

Range: 0/1

legendAllowDrag : Boolean [+]

The legend can be made drag-able by setting this attribute to 1. End viewers of the chart can drag the legend around on the chart.

Range: 0/1

legendScrollBgColor : Color [+]

If you've too many items on the legend, a scroll bar shows up on the same. This attribute lets you configure the background color of the scroll bar.

Range: Hex Color Code

reverseLegend : Boolean [+]

You can reverse the ordering of datasets in the legend by setting this attribute to 1.

Range: 0/1

legendIconScale : Number [+] 3.2

Scaling of legend icon is possible in FusionCharts XT. This attribute lets you control the size of legend icon.

Range: 1-5

legendItemFontBold : Boolean [+]

Whether legend keys should be displayed in bold

Range: 0/1

legendItemFont : String [+]

Sets legend item font

Range: Font Name

legendItemFontSize : Number [+]

Sets legend item font size

Range: 6 - 72

legendItemFontColor : Color [+]

Sets legend item font color

Range: Hex Color Code

legendNumColumns : Number [+] 3.2

If your chart contains multiple series, the legend is displayed as a grid comprising of multiple legend keys. With the help of this attribute you can specify the number of columns that are to be displayed in the legend.

Range: Positive Integer

drawCustomLegendIcon : Boolean [+] 3.8.0

Specifies whether drawing a custom legend icon will be enabled. All legend icon customization attributes will work only if this feature is enabled.

Default value: 0 (disabled)

Range: 0/1

legendIconBorderColor : Color [+] 3.8.0

Sets the border color for the legend icon.

Default value: Data plot border color

Range: Hex Color Code

legendIconBgColor : Color [+] 3.8.0

Sets the background color for the legend icon.

Default value: Data plot fill color

Range: Hex Color Code

legendIconAlpha : Number [+] 3.8.0

Sets the legend icon transparency.

Default value: 100

Range: 0 - 100

legendIconBgAlpha : Number [+] 3.8.0

Sets the legend icon background transparency.

Default value: 100

Range: 0 - 100

legendIconSides : Number [+] 3.8.0

Sets the number of sides for the legend icon.

Default value: 4

legendIconBorderThickness : Number [+] 3.8.0

Sets the thickness of the legend icon border.

Default value: 1

Range: 1-5

legendIconStartAngle : Number [+] 3.8.0

Sets the starting angle of for drawing the legend icon.

Default value: 45

}
Scroll bar properties

The following attributes let you configure the scroll bar properties:

chart : {
scrollColor : Color [+]

Color for the scroll bar.

Range: Hex Color Code

scrollPosition : String [+] 3.15.1

Sets the position of the scrollbar in the chart.

Default Value: Bottom

Range: Top, Bottom

scrollPadding : Number [+]

Vertical padding between the scroll bar and chart canvas.

Range: In pixels

scrollHeight : Number [+]

Height of scroll bar.

Range: In pixels

scrollWidth : Number [+] 3.11.0

Width of scroll bar.

Range: In pixels

scrollBtnWidth : Number [+]

Width of scroll buttons.

Range: In pixels

scrollBtnPadding : Number [+]

Horizontal padding between the scroll bar and its buttons.

Range: In pixels

flatscrollbars : Boolean [+]

This attribute can be used to set the scroll bar to flat or the basic one.

Default value: 1

Range: 0/1

}
Chart Paddings & Margins

The following attributes help you control chart margins and paddings. FusionCharts Suite XT allows you manually customize the padding of various elements on the chart to allow advanced manipulation and control over chart visualization. Padding in FusionCharts Suite XT is always defined in pixels, unless the attribute itself suggests some other scale (like plotSpacePercent, which configures the spacing using percentage values). You can also define the chart margins. Chart Margins refer to the empty space left on the top, bottom, left and right of the chart. It's not necessary for you to specify any padding/margin values. FusionCharts Suite XT automatically assumes the best values for the same, if you do not specify the same.

chart : {
chartLeftMargin : Number [+]

Amount of empty space that you want to put on the left side of your chart. Nothing is rendered in this space.

Range: In pixels

chartRightMargin : Number [+]

Amount of empty space that you want to put on the right side of your chart. Nothing is rendered in this space.

Range: In pixels

chartTopMargin : Number [+]

Amount of empty space that you want to put on the top of your chart. Nothing is rendered in this space.

Range: In pixels

chartBottomMargin : Number [+]

Amount of empty space that you want to put at the bottom of your chart. Nothing is rendered in this space.

Range: In pixels

taskDatePadding : Number [+]

Horizontal padding between the task bars and start of date labels (if you've opted to show them for the chart).

Range: In pixels

captionPadding : Number [+]

This attribute lets you control the space (in pixels) between the sub-caption and top of the chart canvas. If the sub-caption is not defined, it controls the space between caption and top of chart canvas. If neither caption, nor sub-caption is defined, this padding does not come into play.

Range: In pixels

legendPadding : Number [+]

Padding of legend from bottom side of canvas.

Range: In pixels

}
Chart Level Attributes for Customizing Milestone Labels

Using these attributes, you can set the various headings and titles of chart like caption, sub-caption.

chart : {
milestoneFont : String [+]

Sets the font family for the milestone label

Note: The custom milestone label is defined using the label attribute belonging to the milestone object.

milestoneFontSize : String [+]

Sets the font size for the milestone label

Note: The custom milestone label is defined using the label attribute belonging to the milestone object.

milestoneFontColor : String [+]

Sets the font color for the milestone label

Note: The custom milestone label is defined using the label attribute belonging to the milestone object.

milestoneFontBold : String [+]

Sets whether the milestone label will be formatted in bold

Note: The custom milestone label is defined using the label attribute belonging to the milestone object.

Range: 0/1

milestoneFontItalic : String [+]

Sets whether the milestone label will be formatted in italics

Note: The custom milestone label is defined using the label attribute belonging to the milestone object.

Range: 0/1

}
The categories Object

The categories object and the category object (child of the categories object) are used to specify x-axis labels for multi-series charts. The attributes of the categories object are used to set the font properties of all x-axis labels collectively.

categories : {
align : String [+]

Horizontal alignment position of category labels.

Range: 'left', 'center' or 'right'

bgAlpha : Number [+]

Background alpha for each horizontal visual date line.

Range: 0 - 100

bgColor : Color [+]

Background color for each horizontal visual date line.

Range: Hex Color Code

font : Font Face [+]

Font for this category.

fontColor : Color [+]

Font color for this category.

Range: Hex Color Code

fontSize : Number [+]

Font size for this category. Besides pixels (px) values can also be defined in rem, %, em, and vw.

isBold : Boolean [+]

Whether to render font as bold for this category?

Range: 0/1

isItalic : Boolean [+]

Whether to render font as italic for this category?

Range: 0/1

isUnderline : Boolean [+]

Whether to render font as underline for this category?

Range: 0/1

hoverBandAlpha : Number [+]

Lets you set the transparency of the hover band. This feature is supported by JavaScript Gantt chart only.

Range: 0 - 100

hoverBandColor : Color [+]

When you hover the mouse cursor over any category, you'll see a colored band moving with the mouse. This attribute lets you set the hover color of that band. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

showGanttPaneHoverBand : Boolean [+]

Whether to show the color band of Gantt pane on mouse hover. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

showHoverBand : Boolean [+]

Whether to show the color band on mouse hover. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

vAlign : String [+]

Vertical alignment position of category labels.

Range: 'top', 'middle' or 'bottom'

verticalPadding : Number [+]

Vertical padding for the category line - both top & bottom.

Range: In pixels

}
The category Object

The attributes of the category object are used to define and customize individual x-axis labels for multi-series charts.

category : {
align : String [+]

Horizontal alignment position of the label.

Range: 'left', 'center' or 'right'

bgAlpha : Number [+]

Background alpha for this category division.

Range: 0 - 100

bgColor : Color [+]

Background color for this category division.

Range: Hex Color Code

end : Date/Time [+]

End date/time for this category. Needs to be specified in the date/time formats for the chart.

font : Font face [+]

Font face for the label.

fontColor : Color [+]

Font color for the label.

Range: Hex Color Code

fontSize : Font size [+]

Font size for the label. Besides pixels (px) values can also be defined in rem, %, em, and vw.

isBold : Boolean [+]

Whether this label will appear as bold?

Range: 0/1

isItalic : Boolean [+]

Whether this label will appear as italic?

Range: 0/1

isUnderline : Boolean [+]

Whether this label will appear as underlined?

Range: 0/1

label : String [+]

Label for the category. You can specify any text label to be displayed as the category label.

Note: The label attribute replaces the name attribute. Previously, either one of the attributes could be used to set the label. Support for the name attribute has been discontinued since v3.10.0.

link : String [+]

Each category label can be linked to an external URL. You need to provide the URL in FusionCharts Link format.

hoverBandAlpha : Number [+]

Lets you set the transparency of the color band. This feature is supported by JavaScript Gantt chart only.

Range: 0 - 100

hoverBandColor : Color [+]

When you hover the mouse cursor over any category, you'll see a colored band moving with the mouse. This attribute lets you set the hover color of that band. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

showGanttPaneHoverBand : Boolean [+]

Whether to show the color band of Gantt pane on mouse hover. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

showHoverBand : Boolean [+]

Whether to show the color band on mouse hover. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

start : Date/Time [+]

Start date/time for this category. Needs to be specified in the date/time formats for the chart.

vAlign : String [+]

Vertical alignment position of the label.

Range: 'top', 'middle' or 'bottom'

}
The processes Object

Processes on a Gantt chart are created and customized using the processes object and its child object, the process object. You can show team members, projects, or task lists as a process on a Gantt chart. Processes are shown in the first column of the scrollable data table of the Gantt chart.

The processes object is used to group together all processes for a Gantt chart. Using this attribute, cosmetic properties for all processes can be collectively specified. Additionally, it is also used to create and customize a process header (the first cell of the column that shows the processes).

These attributes let you customize all processes and the process header.

processes : {
align : String [+]

Horizontal alignment for all process names.

Range: 'left', 'center' or 'right'

bgAlpha : Number [+]

Background alpha for the process name column.

Range: 0 - 100

bgColor : Color [+]

Background color for the process name column.

Range: Hex Color Code

font : Font Face [+]

Font for process name.

fontColor : Color [+]

Font color for process name.

Range: Hex Color Code

fontSize : Number [+]

Font size for process name. Besides pixels (px) values can also be defined in rem, %, em, and vw.

headerAlign : String [+]

Horizontal alignment position of the header label.

Range: 'left', 'center' or 'right'

headerBgAlpha : Number [+]

Background alpha of the process header.

Range: 0 - 100

headerBgColor : Color [+]

Background color of the process header.

Range: Hex Color Code

headerFont : Font face [+]

Font for the process header

headerFontColor : Color [+]

Font color for the process header

Range: Hex Color Code

headerFontSize : Number [+]

Font size for the process header

headerIsBold : Boolean [+]

Whether process header should appear bold?

Range: 0/1

headerIsItalic : Boolean [+]

Whether process header should appear in italics?

Range: 0/1

headerIsUnderline : Boolean [+]

Whether process header should appear as underlined?

Range: 0/1

headerVAlign : String [+]

Vertical alignment position of the header label.

Range: 'top', 'middle' or 'bottom'

headertext : String [+]

Header label for the processes column in data table.

isBold : Boolean [+]

Whether to show process names in bold?

Range: 0/1

isItalic : Boolean [+]

Whether to show process names in italics?

Range: 0/1

isUnderline : Boolean [+]

Whether to show process names as underline?

Range: 0/1

positionInGrid : String [+]

Whether the process column appears as the left-most column of data grid or right-most?

Range: 'left' or 'right'

hoverBandAlpha : Number [+]

Lets you set the transparency of the color band. This feature is supported by JavaScript Gantt chart only.

Range: 0 - 100

hoverBandColor : Color [+]

When you hover the mouse cursor over any process, you'll see a colored band moving with the mouse. This attribute lets you set the hover color of that band. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

showGanttPaneHoverBand : Boolean [+]

Whether to show the color band of Gantt pane on mouse hover. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

showHoverBand : Boolean [+]

Whether to show the color band on mouse hover. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

vAlign : String [+]

Vertical alignment for all process names.

Range: 'top', 'middle' or 'bottom'

width : Number [+]

Width of the process column in data table. You can either specify it as exact pixels (e.g. 150 or 200) or in percentage (25% or 30%)

Range: In pixels or in percent

}
The process Object

The process object represents individual processes on a Gantt chart. While the processes object groups all processes together, it is mandatory to use a process object to create a process.

If the processes object is used to configure an attribute globally for all processes, the process object can override that property for an individual process.

These attributes let you create and customize individual processes using the process object.

process : {
align : String [+]

Horizontal alignment position for the process name.

Range: 'left', 'center' or 'right'

bgAlpha : Number [+]

Background alpha for the process name.

Range: 0 - 100

bgColor : Color [+]

Background color for the process name.

Range: Hex Color Code

font : Font face [+]

Font face for this process label.

fontColor : Color [+]

Font color for this process label.

Range: Hex Color Code

fontSize : Font Size [+]

Font size for this process label. Besides pixels (px) values can also be defined in rem, %, em, and vw.

id : String [+]

String ID for the process. Each process needs to have a unique identifier to enable cross linking with tasks.

isBold : Boolean [+]

Whether to show this process name in bold?

Range: 0/1

isItalic : Boolean [+]

Whether to show this process name in italics?

Range: 0/1

isUnderline : Boolean [+]

Whether to show this process name as underline?

Range: 0/1

label : String [+]

The label for the process.

Note: The label attribute replaces the name attribute. Previously, either one of the attributes could be used to set the label. Support for the name attribute has been discontinued since v3.10.0.

link : String [+]

Each process label can be linked to external links. You can specify the link for each process in FusionCharts link format as value of this attribute.

hoverBandAlpha : Number [+]

Lets you set the transparency of the color band. This feature is supported by JavaScript Gantt chart only.

Range: 0 - 100

hoverBandColor : Color [+]

When you hover the mouse cursor over any process, you'll see a colored band moving with the mouse. This attribute lets you set the hover color of that band. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

showGanttPaneHoverBand : Boolean [+]

Whether to show the color band of Gantt pane on mouse hover. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

showHoverBand : Boolean [+]

Whether to show the color band on mouse hover. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

vAlign : String [+]

Vertical alignment position for the process name.

Range: 'top', 'middle' or 'bottom'

height : Number [+] 3.5.0

Sets the height for a process row.

Range: In Pixels

}
The tasks Object

Tasks on a Gantt chart can be created and customized using the tasks object and its child object, the task object. Tasks are shown in the view pane of a Gantt chart.

The tasks object is used to group together all tasks on chart.

These attributes let you customize the tasks collectively.

tasks : {
alpha : Number [+]

Alpha for the task bar fill.

Range: 0 - 100

borderalpha : Number [+]

If border is to be shown for task bars, this attribute defines the alpha.

Range: 0 - 100

bordercolor : Color [+]

If border is to be shown for task bars, this attribute defines the color.

Range: Hex Color Code

borderthickness : Number [+]

If border is to be shown for task bars, this attribute defines the thickness.

color : Color [+]

Fill color for the task bars. This color is manipulated by the task fill gradient formula to attain the required gradient

Range: Hex Color Code

font : Font face [+]

Font for all the task labels.

fontcolor : Color [+]

Font color for all the task labels.

Range: Hex Color Code

fontsize : Number [+]

Font size for all the task labels.

showborder : Boolean [+]

Whether to show border for task bars?

Range: 0/1

showenddate : Boolean [+]

Whether to show end date for each task?

Range: 0/1

showlabels : Boolean [+]

Whether to show the label for each task (if defined)?

Range: 0/1

showpercentlabel : Boolean [+]

If percent complete has been defined for each task, whether to show the same as part of label?

Range: 0/1

showstartdate : Boolean [+]

Whether to show start date for each task?

Range: 0/1

slackFillColor : Color [+]

Lets you set the color of the task bar slack. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

showHoverEffect : Boolean [+]

Whether to use the mouse hover effect? This feature is supported by JavaScript Gantt chart only.

Range: 0/1

hoverFillAlpha : Number [+]

Lets you set the transparency of the hover color for the task bars. This feature is supported by JavaScript Gantt chart only.

Range: 0 - 100

hoverFillColor : Color [+]

Lets you set the hover color of the task bars. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

slackHoverFillAlpha : Boolean [+]

Lets you set the transparency of the hover color of the task bar slack fill. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

slackHoverFillColor : Number [+]

Lets you set the hover color of the task bar slack fill. This feature is supported by JavaScript Gantt chart only.

}
The task Object

The task object represents individual tasks on a Gantt chart. While the tasks object groups all tasks together, it is mandatory to use a task object to create a task.

If the tasks object is used to configure an attribute globally for all tasks, the task object can override that property for an individual task.

These attributes let you create and customize individual tasks.

task : {
alpha : Number [+]

Fill alpha for the task bar.

Range: 0 - 100

animation : Boolean [+]

Whether to animate this particular bar?

Range: 0/1

borderAlpha : Number [+]

Border alpha for the task bar.

Range: 0 - 100

borderColor : Color [+]

Border color for the task bar.

Range: Hex Color Code

borderThickness : Number [+]

Border thickness for the task bar.

color : Color [+]

Fill color for the task bar. This color is manipulated by the task fill gradient formula to attain the required gradient

Range: Hex Color Code

end : Date/Time [+]

End date for the task in the date/time formats specified in XML.

font : Font face [+]

Font for the task label.

fontColor : Color [+]

Font color for the task label.

Range: Hex Color Code

fontSize : Number [+]

Font size for the task label. Besides pixels (px) values can also be defined in rem, %, em, and vw.

Range: In pixels

height : Number [+]

Height for the task bar either in pixels (e.g., 30 or 25) or in percent (e.g., 25% or 50%)

Range: In pixels or in percent

id : String identifier [+]

Each task can have its own unique ID. It is used for linking connectors and milestones.

label : String [+]

String label for the task.

Note: The label attribute replaces the name attribute. Previously, either one of the attributes could be used to set the label. Support for the name attribute has been discontinued since v3.10.0.

link : String [+]

Link for the task bar (in FusionCharts link format)

percentComplete : Number [+]

Each task can be shown as incomplete task by specifying the percent completed here.

processId : String identifier [+]

You can relate each task to its process using the process ID, which can be specified here.

showAsGroup : Boolean [+]

Whether to render the task bar visually as a group?

Range: 0/1

showBorder : Boolean [+]

Whether to show border for the task bar?

Range: 0/1

showEndDate : Boolean [+]

Whether to show end date label for the task bar?

Range: 0/1

showLabel : Boolean [+]

Whether to show the label for this task bar?

Range: 0/1

showPercentLabel : Boolean [+]

Whether to include percent complete in the label for this task bar?

Range: 0/1

showStartDate : Boolean [+]

Whether to show start date for the task bar?

Range: 0/1

showHoverEffect : Boolean [+]

Whether to use the mouse hover effect? This feature is supported by JavaScript Gantt chart only.

Range: 0/1

hoverFillAlpha : Number [+]

Lets you set the transparency of the hover color for individual task bar. This feature is supported by JavaScript Gantt chart only.

Range: 0 - 100

hoverFillColor : Color [+]

Lets you set the hover color of individual task bar. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

slackHoverFillAlpha : Boolean [+]

Lets you set the transparency of the hover color of slack fill for individual task bar. This feature is supported by JavaScript Gantt chart only.

Range: 0/1

slackHoverFillColor : Number [+]

Lets you set the hover color of slack fill for individual task bar. This feature is supported by JavaScript Gantt chart only.

start : Date/Time [+]

Start date for the task in the date/time formats specified in XML.

toolText : String [+]

If you want to have custom tool text for each task bar, you can specify it here.

topPadding : Number [+]

Padding required at the top of the task bar either in pixels or in percent.

Range: In pixels or in percent

}
The dataTable Object

Additional data for processes/tasks in a Gantt chart can be shown using a data table.

Data tables in a Gantt chart are created and customized using the dataTable, dataColumn (child of dataTable), and the text (child of dataColumn) objects.

The dataTable object is used to create this table and collectively configure all the columns and cells in these tables. This object is also used to define header(s) for the added data columns.

These attributes let you create and configure the data table.

dataTable : {
align : String [+]

Horizontal alignment position for all the cells in the data table.

Range: 'left', 'center' or 'right'

bgAlpha : Number [+]

Background alpha for all the cells in the data table.

Range: 0 - 100

bgColor : Color [+]

Background color for all the cells in the data table.

Range: Hex Color Code

font : Font face [+]

Font for all the cells in the data table.

fontColor : Color [+]

Font color for all the cells in the data table.

Range: Hex Color Code

fontSize : Number [+]

Font size for all the cells in the data table. Besides pixels (px) values can also be defined in rem, %, em, and vw.

headerAlign : String [+]

Horizontal alignment position for all column headers in the data table.

Range: 'left', 'center' or 'right'

headerBgAlpha : Number [+]

Background alpha for all column headers in the data table.

Range: 0 - 100

headerBgColor : Color [+]

Background color for all column headers in the data table.

Range: Hex Color Code

headerFont : Font face [+]

Font face for all column headers in the data table.

headerFontColor : Color [+]

Font color for all column headers in the data table.

Range: Hex Color Code

headerFontSize : Number [+]

Font size for all column headers in the data table.

headerIsBold : Boolean [+]

Whether header should appear bold for all column headers in the data table?

Range: 0/1

headerIsItalic : Boolean [+]

Whether header should appear in italics for all column headers in the data table?

Range: 0/1

headerIsUnderline : Boolean [+]

Whether header should appear in underline for all column headers in the data table?

Range: 0/1

headerVAlign : String [+]

Vertical alignment position for all column headers in the data table.

Range: 'top', 'middle' or 'bottom'

isBold : Boolean [+]

Whether to show text in bold for all the cells in the data table?

Range: 0/1

isItalic : Boolean [+]

Whether to show text in italics for all the cells in the data table?

Range: 0/1

isUnderline : Boolean [+]

Whether to show text as underline for all the cells in the data table?

Range: 0/1

vAlign : String [+]

Vertical alignment position for all the cells in the data table.

Range: 'top', 'middle' or 'bottom'

}
The dataColumn Object

The dataColumn object represents individual columns in a data table. It is also used to collectively customize all the cells in a column.

While the dataTable object creates the framework of a table, it is mandatory to use a dataColumn object to create a column.

If the dataTable object is used to configure an attribute globally for all columns, the dataColumn object can override that property for individual columns. It can also override the header properties configured for the columns.

These attributes let you create and configure columns for the data table.

dataColumn : {
align : String [+]

Horizontal alignment position for all the cells in this data column.

Range: 'left', 'center' or 'right'

bgAlpha : Number [+]

Background alpha for all the cells in this data column.

Range: 0 - 100

bgColor : Color [+]

Background color for all the cells in this data column.

Range: Hex Color Code

font : Font face [+]

Font for all the cells in this data column.

fontColor : Color [+]

Font color for all the cells in this data column.

Range: Hex Color Code

fontSize : Number [+]

Font size for all the cells in this data column. Besides pixels (px) values can also be defined in rem, %, em, and vw.

headerAlign : String [+]

Horizontal alignment position for the column header.

Range: 'left', 'center' or 'right'

headerBgAlpha : Number [+]

Background alpha for the column header.

Range: 0 - 100

headerBgColor : Color [+]

Background color for the column header.

Range: Hex Color Code

headerFont : Font face [+]

Font face for the column header.

headerFontColor : Color [+]

Range: Font color for the column header.

headerFontSize : Number [+]

Font size for the column header.

headerIsBold : Boolean [+]

Whether header should appear bold for the column header?

Range: 0/1

headerIsItalic : Boolean [+]

Whether header should appear in italics for the column header?

Range: 0/1

headerIsUnderline : Boolean [+]

Whether header should appear in underline the column header?

Range: 0/1

headerLink : Link in FusionCharts format [+]

Link for the header.

headerText : String [+]

Label for the header.

headerVAlign : String [+]

Vertical alignment position for the column header.

Range: 'top', 'middle' or 'bottom'

isBold : Boolean [+]

Whether to show text in bold for all the cells in this data column?

Range: 0/1

isItalic : Boolean [+]

Whether to show text in italics for all the cells in this data column?

Range: 0/1

isUnderline : Boolean [+]

Whether to show text as underline for all the cells in this data column?

Range: 0/1

vAlign : String [+]

Vertical alignment position for all the cells in this data column.

Range: 'top', 'middle' or 'bottom'

width : Number [+]

Width of this column in number (100 or 200) or percent (25% or 45%)

Range: In pixels or in percent

}
The text Object

The text object represents individual cells in the data table. While the dataColumn object adds a column to the framework created by the dataTable object, it is mandatory to use the text object to add cells to the columns.

If the dataTable/dataColumn objects are used to configure an attribute globally for all cells, the text object can override that property for individual cells.

These attributes let you create and configure individual cells for the columns in the data table.

text : {
align : String [+]

Horizontal alignment position of the label.

Range: 'left', 'center' or 'right'

bgAlpha : Number [+]

Background alpha for the cell.

Range: 0 - 100

bgColor : Color [+]

Background color for the cell.

Range: Hex Color Code

font : Font face [+]

Font for the cell.

fontColor : Color [+]

Font color for the cell.

Range: Hex Color Code

fontSize : Number [+]

Font size for the cell. Besides pixels (px) values can also be defined in rem, %, em, and vw.

isBold : Boolean [+]

Whether to show text in bold?

Range: 0/1

isItalic : Boolean [+]

Whether to show text in italics?

Range: 0/1

isUnderline : Boolean [+]

Whether to show text as underline?

Range: 0/1

label : String [+]

String label to be displayed in the cell.

Note: The label attribute replaces the name attribute. Previously, either one of the attributes could be used to set the label. Support for the name attribute has been discontinued since v3.10.0.

link : String [+]

Link for the label.

vAlign : String [+]

Vertical alignment position of the label.

Range: 'top', 'middle' or 'bottom'

}
The connectors Object

Connectors, for connecting two chart elements, can be created and customized using the connectors object and its child object, the connector object.

The connectors object groups together all the connectors on a chart.

These attributes let you customize all connectors collectively.

connectors : {
alpha : Number [+]

Alpha of the connector lines.

Range: 0 - 100

color : Color [+]

Color for the connector line

Range: Hex Color Code

showHoverEffect : Boolean [+]

Whether to use the mouse hover effect? This feature is supported by JavaScript Gantt chart only.

Range: 0/1

hoverAlpha : Number [+]

Lets you set the transparency of the hover color for the connector lines. This feature is supported by JavaScript Gantt chart only.

Range: 0 - 100

hoverColor : Color [+]

Lets you set the hover color of the connector lines. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

hoverThickness : Number [+]

Lets you set the thickness of the hover effect for the connector lines. This feature is supported by JavaScript Gantt chart only.

isDashed : Boolean [+]

Whether the connectors should be rendered as dashed lines.

Default value: 0 (connectors rendered using straight lines)

Range: 0/1

thickness : Number [+]

Thickness of the connector lines.

}
The connector Object

Each connector object represents a connector that connects two tasks.

The connector object represents individual connectors on a chart. While the connectors object can collectively customize the connectors, it is mandatory to use a connector object to create a connector.

If the connectors object is used to configure an attribute globally for all connectors, the connector object can override that property for individual connectors.

These attributes let you create and customize individual connectors.

connector : {
Link : String [+]

Lets you set links for individual connector items. This feature is supported by JavaScript Gantt chart only.

alpha : Number [+]

Alpha of the connector line.

Range: 0 - 100

color : Color [+]

Color of the connector

Range: Hex Color Code

fromTaskConnectStart : Boolean [+]

Whether to connect left side of the starting task bar?

Range: 0/1

fromTaskId : String ID [+]

ID of the task which will act as the starting point for connector. You'll need to define IDs for each task before you can define connectors.

showHoverEffect : Boolean [+]

Whether to use the mouse hover effect? This feature is supported by JavaScript Gantt chart only.

Range: 0/1

hoverAlpha : Number [+]

Lets you set the transparency of the hover color for individual connector line. This feature is supported by JavaScript Gantt chart only.

Range: 0 - 100

hoverColor : Color [+]

Lets you set the hover color of individual connector line. This feature is supported by JavaScript Gantt chart only.

Range: Hex Color Code

hoverThickness : Number [+]

Lets you set the thickness of the hover effect of individual connector line. This feature is supported by JavaScript Gantt chart only.

isDashed : Boolean [+]

Whether the connector should be rendered as dashed lines.

Default value: 0 (connector rendered using straight lines)

Range: 0/1

thickness : Number [+]

Thickness of the connector.

toTaskConnectStart : Boolean [+]

Whether to connect left side of the ending task bar?

Range: 0/1

toTaskId : String ID [+]

ID of the task which will act as the ending point for connector.

}
The milestone Object

The milestone object is used to represent individual milestones.

While the milestones object groups all milestones, it is mandatory to use the milestone object to create individual milestones.

If the milestones object is used to configure an attribute globally for all milestones, the milestone object can override that property for an individual milestone.

These attributes let you create and customize individual milestones using the milestone object.

milestone : {
alpha : Number [+]

Alpha for the milestone.

Range: 0 - 100

borderColor : Color [+]

Border color for the milestone.

Range: Hex Color Code

borderThickness : Number [+]

Border thickness for the milestone.

Range: In Pixels

borderAlpha : Number [+]

Transparency of border for the milestone.

Range: 0 - 100

color : Color [+]

Color for the milestone

Range: Hex Color Code

date : Date [+]

Date for the milestone in the specified date format.

link : String [+]

Each milestone can be linked to external links. The link should be specified in FusionCharts link format.

numSides : Number [+]

Number of sides that the milestone should have.

Range: 3-15

radius : Number [+]

Radius for the milestone (in pixels).

Range: 2-15

shape : star or polygon [+]

Shape of the milestone.

startAngle : Number [+]

Starting angle for the star/polygon.

Range: 0-360

taskId : String ID [+]

ID of the task to which this milestone relates to. You must define task IDs before you can use milestones.

toolText : String [+]

Each milestone can have its own tool text, which you can specify here.

showHoverEffect : Boolean [+]

Whether to enable hover effect on milestone

Range: 0/1

hoverFillColor : Color [+]

Lets you set the hover color of milestone.

Range: Hex Color Code

hoverFillAlpha : Number [+]

Lets you set the transparency of the hover color for milestone.

Range: 0 - 100

hoverBorderColor : Color [+]

Lets you set the color of the border of milestone when hovered.

Range: Hex Color Code

hoverBorderAlpha : Number [+]

Lets you set the transparency of the border of milestone when hovered.

Range: 0 - 100

label : String [+]

Sets a custom milestone label

font : String [+]

Sets the font family for the milestone label

fontSize : String [+]

Sets the font size for the milestone label. Besides pixels (px) values can also be defined in rem, %, em, and vw.

fontColor : String [+]

Sets the font color for the milestone label

milestoneFontBold : String [+]

Sets whether the milestone label will be formatted in bold

Range: 0/1

fontItalic : String [+]

Sets whether the milestone label will be formatted in italics

Range: 0/1

}
Trend-lines

Trend-lines are vetical lines that aid in interpretation of data with respect to some pre-determined value. For example, if you are plotting the sales data for the current year, you might want to show the previous year's average monthly sales as a trend indicator for ease of comparison. The lines object, child of the trendlines object is used to add trend-lines to a chart.

Although the line object has to be defined within the trendlines object, the latter cannot be used to collectively customize trend-lines, because it does not have any attributes of its own.

The attributes of the lines object, child of the trendlines object, are used to create and customize trend-lines for charts.

line : {
alpha : Number [+]

Alpha of the trend line.

Range: 0 - 100

color : Color [+]

Color for the trend line/zone

Range: Hex Color Code

dashed : Boolean [+]

Whether the trendline should be rendered as dashed lines.

Default value: 0 (trendline rendered using straight lines)

Range: 0/1

dashLen : Number [+]

Sets the length of each dash when trendline is rendered as dashed lines.

Range: In pixels

dashGap : Number [+]

Sets the gap between consecutive dashes when trendline is rendered as dashed lines.

Range: In pixels

displayValue : String [+]

If you want to display your custom value beneath the trend line, you can do so here. Example, you can show the trend line and label it as "Today".

end : Date/Time [+]

End date for the trend line/zone. If you intend to draw a trend line instead of a trend zone, then you do not need to specify a value for this attribute.

isTrendZone : Boolean [+]

Whether the trend will be displayed as a line or a zone (fill-colored rectangle).

Range: 0/1

start : Date/Time [+]

Start date/time for the trend line/zone.

thickness : Number [+]

Thickness of the trend line.

}
Trend-lines (Chart level attributes)

Trend-lines are vertical lines that aid in interpretation of data with respect to some pre-determined value. For example, if you are plotting the sales data for the current year, you might want to show the previous year's average monthly sales as a trend indicator for ease of comparison. Cosmetics for all the trend-lines rendered can be attained using this set of attributes.

Although there are set of attributes of the line object, used to create and customize trend-lines, these set of attributes effect all the trend-lines rendered in your chart.

chart : {
trendlineColor : Color [+]

Sets color of all the trend lines and its associated text in the chart.

Range: Hex Color Code

trendlineThickness : Number [+]

If you've opted to show the trend as a line, this attribute lets you define the thickness of all the trend lines in your chart.

Range: In Pixels

trendlineAlpha : Number [+]

Sets transparency for all the trend lines in your charts.

Range: 0 - 100

trendLineToolText : String [+]

Sets the tooltip text of the trend-line. It accepts macros, plain text, and HTML tags, as string.

showTrendlinesOnTop : Boolean [+]

Whether all the trend line/zone will be displayed over data plots or under them.

Range: 0/1

}
Trend-lines Display Value Cosmetics

These attributes let you customize the text displayed with a trend-line.

Note: These attributes belong to the chart object and not to the line object (child of the trendline object). They are, therefore, applied to all trend-lines on your chart.

chart : {
trendValueFont : String [+] 3.8.0

Sets the font family for the trend-line display value.

Range: Font Name

trendValueFontSize : Number [+] 3.8.0

Sets the font size for the trend-line display value. Besides pixels (px) values can also be defined in rem, %, em, and vw.

Range:  

trendValueFontBold : Boolean [+] 3.8.0

Sets whether the trend-line display value will be bold formatted.

Default value: 0 (not bold formatted)

Range: 0/1

trendValueFontItalic : Boolean [+] 3.8.0

Sets whether the trend-line display value will be italicized.

Default value: 0 (not italicized)

Range: 0/1

trendValueBgColor : Color [+] 3.8.0

Sets the background color for the trend-line display value.

Range: Hex Color Code

trendValueBorderColor : Color [+] 3.8.0

Sets the border color for the trend-line display value.

Range: Hex Color Code

trendValueAlpha : Number [+] 3.8.0

Sets the transparency for the trend-line display value.

Default value: 100

Range: 0 - 100

trendValueBgAlpha : Number [+] 3.8.0

Sets the transparency for the background of the trend-line display value.

Default value: 100

Range: 0 - 100

trendValueBorderAlpha : Number [+] 3.8.0

Sets the transparency for the border around the trend-line display value.

Default value: 100

Range: 0 - 100

trendValueBorderPadding : Number [+] 3.8.0

Sets padding for the border around the trend-line display value.

Range: In pixels

trendValueBorderRadius : Number [+] 3.8.0

Sets the radius for the border around the trend-line display value.

Range: In pixels

trendValueBorderThickness : Number [+] 3.8.0

Sets the thickness for the border around the trend-line display value.

Range: In pixels

trendValueBorderDashed : Boolean [+] 3.8.0

Whether the border around the trend-line display value should be rendered as dashed lines.

Default value: 0 (border rendered using straight lines)

Range: 0/1

trendValueBorderDashLen : Number [+] 3.8.0

Sets the length of each dash when the border around the trend-line display value is rendered as dashed lines.

Range: In pixels

trendValueBorderDashGap : Number [+] 3.8.0

Sets the gap between two consecutive dashes when the border around the trend-line display value is rendered as dashed lines.

Range: In pixels

}
The item Object (child of legend Object)

A legend in the Gantt chart can be configured using the legend object and its child object, the item object.

The color attribute of the legend object is used to set a common color for all legend items.

These attributes of the item object are used to configure individual legend items.

item : {
color : Color [+]

Color code for the legend item

Range: Hex Color Code

label : String [+]

Label for the legend item.

Note: The label attribute replaces the name attribute. Previously, either one of the attributes could be used to set the label. Support for the name attribute has been discontinued since v3.10.0.

}