Skip to main content
A Gantt chart is a type of bar chart that illustrates a project schedule. It shows the start and finish dates of terminal elements and summary elements of a project.

Basic example

When dates are “excluded”, the Gantt chart extends tasks to the right, not by creating gaps inside the task.

Comprehensive example

Task metadata

Tasks use colon : to separate title from metadata. Metadata items are comma-separated.

Tags

Optional tags (must be specified first):
  • active - Currently active task
  • done - Completed task
  • crit - Critical task
  • milestone - Milestone marker

Task timing

Title

Add an optional title:

Excludes

Exclude specific dates, days, or weekends:

Weekend configuration (v11.0.0+)

Configure weekend start day:

Sections

Divide the chart into sections:

Milestones

Milestones represent a single instant in time:

Vertical markers

Add vertical reference lines:

Date formats

Input date format

Define how dates are parsed:

Output axis format

Define how dates are displayed:

Axis ticks (v10.3.0+)

Customize tick intervals: Pattern: /^([1-9][0-9]*)(millisecond|second|minute|hour|day|week|month)$/

Compact mode

Display multiple tasks in the same row:

Interaction

Bind click events to tasks:
This functionality is disabled when using securityLevel='strict'.

Today marker

Style or hide the current date marker:
To hide:

Comments

Add comments with %%: