(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Gantt Chart

Overview

Example Gantt Chart

Specs

Tokens

Token Description
displayName Display name of the component shown in the structure panel
titleTranslation Title text above the Gantt chart with multi-language support
globalEventColor Default color used for events
globalEventIconName Default icon displayed with events
resourceColumnCaptionTranslation Header text for the resource column with translations
resourceColumnFieldExpression Data field for displaying resource names
resourceColumnAutoWidth Adjusts resource column width automatically
resourceColumnWidth Fixed width in pixels for resource column
eventNameExpression Data field for event names
eventResourceIdExpression Data field for linking events to resources
eventStartDateExpression Data field for event start date
eventEndDateExpression Data field for event end date
currentTimeLineEnabled Displays a line for current time in the chart
currentTimeLineUpdateIntervalInMs Interval in milliseconds to update current time line
relativeTimeViewEnabled Enables relative time frames for chart view
relateTimeView Defines which relative time frame to use
dynamicTimeView Enables automatic updates of the time view
paddingClass Configures spacing around the chart with CSS classes
useMockData Enables sample mock data for development
getResourcesDataSourceId Data source ID for fetching resource data
getResourcesSourceHttpRequestParametersMap HTTP request parameters for resource data
getEventsDataSourceId Data source ID for fetching event data
getEventsDataSourceHttpRequestParametersMap HTTP request parameters for event data
events Configurable component events
ON_GLOBAL_PARAMETERS_CHANGE (Events) Event triggered when global parameters change
ON_INIT (Events) Event triggered when the component is initialized
ON_DIALOG_DATA_SUBMIT (Events) Event triggered when dialog data is submitted
ON_DESTROY (Events) Event triggered when the component is removed
id Unique identifier for the component
dataTestId Testing hook ID for automated testing
enableAsHotspot Enables component as a guided tour hotspot
guidedTourHotSpotTitle Title for guided tour hotspot (supports translations)
guidedTourHotSpotDescription Description for guided tour hotspot (supports translations)

Structure

Labled sturcture of the Gantt Chart

Data Configuration

(Configured in Data Configuration)

Data Configuration tab

Datasource

(Configured in Datasource)

Resources Data Format

[
  {
    "id": "resource-1",
    "name": "John Smith",
    "role": "Developer",
    "availability": 0.8
  },
  {
    "id": "resource-2",
    "name": "Jane Doe",
    "role": "Designer",
    "availability": 1.0
  }
]

Events Data Format

[
  {
    "id": "task-1",
    "name": "Research Phase",
    "resourceId": "resource-1",
    "startDate": "2025-05-01T08:00:00Z",
    "endDate": "2025-05-05T17:00:00Z",
    "completion": 100,
    "color": "#4CAF50"
  },
  {
    "id": "task-2",
    "name": "Design Phase",
    "resourceId": "resource-2",
    "startDate": "2025-05-06T08:00:00Z",
    "endDate": "2025-05-12T17:00:00Z",
    "completion": 50,
    "color": "#2196F3"
  }
]

Timeline

(Configured in Visual Properties)

Example dynamic timeline

Styling

(Configured in General Properties)

(Configured in Visual Properties)

Visual Properties tab

Actions & Variants

(Configured in Events)

Tests

(Configured in Testing Hooks)

Links

Guidelines

Usage

Sizing & Layout

States & Feedback

Color & Contrast

Data-Driven / Conditional Behavior

Content & Localization

Dos & Don’ts

Do Don’t Article setting(s)
Localize the chart title and resource header. Ship English-only labels. titleTranslation, resourceColumnCaptionTranslation
Use relative time windows for status views (e.g., this week). Hard-code a past date range for live dashboards. relativeTimeViewEnabled, relateTimeView
Keep the current period in view automatically. Make users pan every hour to find “now”. dynamicTimeView
Show a current-time line and update it at a reasonable cadence. Leave users guessing where “now” is or update every 100 ms. currentTimeLineEnabled, currentTimeLineUpdateIntervalInMs
Use auto-width for varied names, fixed width for strict layouts. Let long names clip or cause column thrash. resourceColumnAutoWidth, resourceColumnWidth
Add padding using tokens for readability. Let bars touch the edges. paddingClass
Pair color with text (and optional default icon). Encode meaning by color alone. globalEventColor, globalEventIconName, eventNameExpression
Clean up timers/listeners on teardown. Leak intervals after navigation. ON_DESTROY, currentTimeLineUpdateIntervalInMs

Accessibility