Working Calendar

A four-week project in May 2026 (May 11 to June 5) on a Monday-to-Friday calendar with two holidays. Non-working days show as stripes, durations count working days, bars snap off weekends when dragged or resized, and the critical path follows the calendar. Every move is undoable: Ctrl+Z rolls back any drag, resize or snap, and the history survives the toggles below, which change the chart with gantt.update().

Calendar

Workdays: Mon to Fri
Holidays: May 27 (Company offsite), May 29 (Team retreat)
Weekend stripe
Holiday stripe (hover for label)
Critical-path bar

Drag snap mode

Try dragging a bar so its start lands on a Sat/Sun and watch where it actually commits.
dragSnapMode: next

What to look for

Event log