Our state of the art Gantt chart


Post by shimnx »

In my example my non-holidays didn't show up, I loaded the data using loadInlineData(), which is my calendarsData

"calendarsData": [
                {
                  "id": "general",
                  "name": "General",
                  "intervals": [
                    {
                      "startDate": "2022-01-01",
                      "endDate": "2022-01-02",
                      "isWorking": false
                    },
                    ......
                    
] } ]

You can run my example to see, thanks

Attachments
example.zip
(404.2 KiB) Downloaded 18 times

Post by johan.isaksson »

Hi,

You are displaying dates during 2019 initially, but your non working time ranges are defined starting 2022.
When I change viewed range in your app, the ranges are rendered.

Also might be worth adjusting https://bryntum.com/products/gantt/docs/api/Scheduler/feature/NonWorkingTime#config-maxTimeAxisUnit

Best regards,
Johan Isaksson

Post Reply