Back

VibeFox JS Gantt — Demo

Quick start

Plain HTML

A summary task with its subtasks, a milestone, links, working days only and the critical path. Drag the Build bar to the right: Testing and Launch move with it.

Core concepts

Events

Every change is reported as an event with one payload object; the last ones are listed under the chart. Move or resize a bar, drag its progress handle or click a row.

State snapshots

Save the view, then zoom, collapse the summary or sort by a column, and restore it: getState() / setState() bring the zoom, the collapsed rows, the sort and the scroll back.

Undo and redo

Move a few bars or change a duration in the table, then undo and redo the steps with the buttons, the toolbar or Ctrl+Z / Ctrl+Y.

Tasks and links

Working with tasks

Click a row and use the buttons: add a task after it, indent it under the task above, outdent it or remove it.

Links

The four link types: finish-to-start with a lag of 1 day, start-to-start, finish-to-finish and start-to-finish. Drag from the dot at the end of a bar to another bar to add a link.

Split tasks

Build is split into two work segments with a break; Painting is split with splitTask(). Drag one segment along the timeline.

Scheduling

Automatic scheduling and working time

Durations are in working days and weekends are shaded. Make Design longer by dragging the end of its bar: Build, Testing and Launch are pushed and skip the weekend.

Hour tasks

Tasks planned in hours inside the working hours 08:00–12:00 and 13:00–17:00, at the hour zoom. Drag a bar: it snaps to 15 minutes and skips the lunch break and the night.

Constraints and deadlines

Testing must not start before 5 November (SNET), and its deadline is 5 November: the marks show the constraint and the missed deadline, the conflicts are listed under the chart. Drag Testing to the left: the constraint date moves with it (moveConstraintOnDrag).

Critical path, slack and schedule health

Red bars decide the project end; the hatched part after Content is its slack. Make Content longer than its slack and it becomes critical too.

Calendars

The project calendar "Office" has a holiday on 2 November and a short Friday; the task Server move uses its own calendar that also works on Saturday. Holidays are shaded and durations skip them: Migration takes 4 working days around the holiday.

Resources and leveling

Resources and assignments

The resource panel under the chart shows the load of every person; Eva works on Content and Review at the same time and is overloaded (red). Drag Review later to remove the overload.

Resource leveling

Eva is overloaded. Preview shows the proposed dates as ghost bars and the report; Apply moves the tasks, Undo brings them back.

Editing

Double-click a name to edit it in the table, double-click a bar to open the task editor (with an extra Owner field), right-click a bar for the context menu with an extra item.

Timeline and views

Zoom and scrolling

Pick a scale from hours to quarters, or use the floating toolbar in the chart; the buttons scroll to a task or a date.

Table

WBS numbers, chosen columns with the resources, a day.month date format and a wider table. Drag the splitter between the table and the chart; click a header to sort.

What the timeline shows

Baselines (the planned dates) under the bars, weekends and focus mode: click Build to dim everything outside its dependency chain, click it again to leave.

Progress line, S-curve and PERT

The progress line from the status date 30 October shows which tasks are behind (to the left) or ahead. Switch the view to the PERT network or the S-curve.

Filter, sort and search

Show only the tasks of one person (their summary stays as context), sort by a column or search the names: the found rows are highlighted.

What-if scenarios

A scenario "Faster build" shortens Build to 2 days and schedules the plan again, without touching the main plan; the ghost bars show the main plan and the line under the chart the difference. Switch between the plans.

Server synchronization

The CRUD manager loads the plan and sends every change in a batch; here the server is a stub function in the example (transport), so the requests are listed under the chart. Move a bar or add a task.

Assistant

The assistant understands commands without a network. Here "move Build by 2 days" is shown as a preview with ghost bars; click ✦ in the toolbar to see the answer with Apply and Cancel, or type your own command, for example "add task Docs 3 days after Testing".

Large plans

10 000 tasks in 500 groups with links: only the visible rows and the visible part of the timeline are drawn. Scroll the table or the chart.

Scheduler: views and events

Views and navigation

The month view with a heat map of busy days. Switch the view and the period in the toolbar: month, week, day, agenda, year.

Events

Drag in an empty slot to create an event, drag an event to move it, drag its lower edge to resize it, click it to edit it. The last change is shown under the calendar.

Quick add, free slots and conflicts

Two events overlap on Wednesday and get conflict badges. Type an event into the quick-add field of the toolbar, for example "Lunch 12:00-13:00 #green", or find the first free hour.

Scheduler: recurrence and time zones

Recurring events

A board meeting on the second Monday of every month, a weekly sync on Tuesday and Thursday without one date, and a daily check-in. Click an occurrence to change it, this one or the following ones.

Time zones

The calendar is shown in Berlin time with a second hour scale for New York; the call is stored in New York time and appears at the right Berlin hour.

Scheduler: resources and timeline

The timeline view: one row per resource, grouped by team; Ann is on vacation on Friday (shaded). Drag an event to another row to give it to another resource.

Calendars shared with a Gantt

The Scheduler under the plan follows the calendars of the Gantt: the holiday on 28 October is shaded in both and Planning skips it. Holidays added to the Gantt appear in the Scheduler too.

Scheduler: import, export and printing

Events read from iCalendar text with importICS(), including a weekly rule; the buttons export the calendar as an .ics, PNG or PDF file.

Theming and styling

Themes

Pick a theme in the list above the chart: the built-in light, dark and high-contrast, or a theme of vibefox-js-themes.css (linked here).

CSS variables

Taller rows, a colored header, green bars and a red critical path, set as CSS variables of this chart only (in the style of its element; a CSS rule for the element works the same).

Ready-made styles

Pick one of the five ready-made styles; every style works with every theme and density.

Density and size

Switch the density of the container: compact, normal or comfortable rows and paddings.

Localization and RTL

Languages

Russian from the language pack vibefox-js-gantt.ru.js, loaded after the library: table headers, the time scale and the toolbar. Switch the language in the list.

Right-to-left

With rtl: true the table is on the right and the timeline runs from right to left.

Accessibility

Keyboard

Click a row, then use the keys: ↑ ↓ choose a task, → ← expand and collapse, Enter opens the editor. Tab to the timeline: ← → move the bar, Shift+← → change its end, L starts a link.

Bug Report

Thank you for helping us improve. We carefully review every report, but we do not reply to them individually. If your report leads to a change, it will be listed in the product changelog together with the report number. To discuss something in detail, please open a support ticket.

Slide to fit the puzzle