bardelman-dhtmlx-gantt-redux
Version: 
An open source JavaScript Gantt chart that helps you illustrate a project schedule in a nice-looking chart.
230 lines • 5.71 kB
JSON
{
    "data": [
        {
            "id": 1,
            "text": "Project #1",
            "start_date": "2023-04-01 00:00",
            "duration": 11,
            "progress": 0.6,
            "open": true,
            "users": [
                "John",
                "Mike",
                "Anna"
            ],
            "priority": "2",
            "end_date": "2023-04-12 00:00",
            "parent": 0,
            "usage": [
                {
                    "id": "1",
                    "value": "222"
                }
            ]
        },
        {
            "id": 2,
            "text": "Task #1",
            "start_date": "2023-04-03 00:00",
            "duration": 5,
            "parent": "1",
            "progress": 1,
            "open": true,
            "users": [
                "John",
                "Mike"
            ],
            "priority": "1",
            "end_date": "2023-04-08 00:00"
        },
        {
            "id": 3,
            "text": "Task #2",
            "start_date": "2023-04-02 00:00",
            "duration": 7,
            "parent": "1",
            "progress": 0.5,
            "open": true,
            "users": [
                "Anna"
            ],
            "priority": "1",
            "end_date": "2023-04-09 00:00"
        },
        {
            "id": 7,
            "text": "Task #2.1",
            "start_date": "2023-04-03 00:00",
            "duration": 2,
            "parent": "3",
            "progress": 1,
            "open": true,
            "users": [
                "Mike",
                "Anna"
            ],
            "priority": "2",
            "end_date": "2023-04-05 00:00",
            "usage": [
                {
                    "id": "3",
                    "value": "1"
                }
            ]
        },
        {
            "id": 8,
            "text": "Task #2.2",
            "start_date": "2023-04-06 00:00",
            "duration": 3,
            "parent": "3",
            "progress": 0.8,
            "open": true,
            "users": [
                "Anna"
            ],
            "priority": "3",
            "end_date": "2023-04-09 00:00"
        },
        {
            "id": 9,
            "text": "Task #2.3",
            "start_date": "2023-04-10 00:00",
            "duration": 4,
            "parent": "3",
            "progress": 0.2,
            "open": true,
            "users": [
                "Mike",
                "Anna"
            ],
            "priority": "1",
            "end_date": "2023-04-14 00:00",
            "usage": [
                {
                    "id": "2",
                    "value": "50"
                },
                {
                    "id": "1",
                    "value": "2"
                }
            ]
        },
        {
            "id": 10,
            "text": "Task #2.4",
            "start_date": "2023-04-10 00:00",
            "duration": 4,
            "parent": "3",
            "progress": 0,
            "open": true,
            "users": [
                "John",
                "Mike"
            ],
            "priority": "1",
            "end_date": "2023-04-14 00:00"
        },
        {
            "id": 4,
            "text": "Task #3",
            "start_date": "2023-04-02 00:00",
            "duration": 6,
            "parent": "1",
            "progress": 0.8,
            "open": true,
            "users": [
                "Mike",
                "Anna"
            ],
            "priority": "2",
            "end_date": "2023-04-08 00:00"
        },
        {
            "id": 5,
            "text": "Task #4",
            "start_date": "2023-04-02 00:00",
            "duration": 5,
            "parent": "1",
            "progress": 0.2,
            "open": true,
            "users": [
                "John"
            ],
            "priority": "3",
            "end_date": "2023-04-07 00:00"
        },
        {
            "id": 11,
            "text": "Task #4.1",
            "start_date": "2023-04-03 00:00",
            "duration": 4,
            "parent": "5",
            "progress": 0.5,
            "open": true,
            "users": [
                "John",
                "Anna"
            ],
            "priority": "3",
            "end_date": "2023-04-07 00:00"
        },
        {
            "id": 12,
            "text": "Task #4.2",
            "start_date": "2023-04-03 00:00",
            "duration": 4,
            "parent": "5",
            "progress": 0.1,
            "open": true,
            "users": [
                "John"
            ],
            "priority": "3",
            "end_date": "2023-04-07 00:00"
        },
        {
            "id": 13,
            "text": "Task #4.3",
            "start_date": "2023-04-03 00:00",
            "duration": 5,
            "parent": "5",
            "progress": 0,
            "open": true,
            "users": [
                "Anna"
            ],
            "priority": "3",
            "end_date": "2023-04-08 00:00"
        },
        {
            "id": 6,
            "text": "Task #5",
            "start_date": "2023-04-02 00:00",
            "duration": 7,
            "parent": "1",
            "progress": 0,
            "open": true,
            "users": [
                "John"
            ],
            "priority": "2",
            "end_date": "2023-04-09 00:00"
        }
    ],
    "links": [
        {
            "id": "10",
            "source": "11",
            "target": "12",
            "type": "1"
        },
        {
            "id": "11",
            "source": "11",
            "target": "13",
            "type": "1"
        }
    ]
}