The Scheduling Gantt Chart is a Workshop widget that renders an interactive Gantt chart for scheduling or resource allocation workflows. Before setting up the widget, ensure you have configured your dynamic scheduling Ontology.
Module builders configuring a Scheduling Gantt Chart widget can:
In the example below, the Scheduling Gantt Chart assigns pilots to flights.
The image below provides an overview of the widget layout.
Enter key will create a new search group with the results.The Scheduling Gantt Chart widget includes several required and optional configuration settings. This section presents an overview, and the required settings are specifically marked as such.
Each schedule layer is configured independently within the Input Data (Pucks) section. A schedule layer represents a set of Schedule objects displayed as pucks on the Gantt chart. Each layer has its own sub-sections for data, drag-and-drop behavior, appearance, interactions, and rules.
For each schedule layer, you can select a puck style to change the visual representation. See schedule layer (puck) styling for more information on puck styles, coloring, and properties.
Schedule objects to be rendered in the chart.Schedule object that links to the Resource object.Schedule object to use as the start time.Schedule object to use as the end time.The Drag & Drop sub-section configures how pucks can be moved within the chart. See the drag-and-drop documentation for detailed setup instructions.
Allocation Behavior: Determine how the placement of pucks will occur in the Scheduling Gantt Chart. The predefined options include:
Snap Behavior: By default, users are able to assign objects to any time on the Scheduling Gantt Chart widget, down to the specific minute. Snap behavior allows builders to set defined intervals of when objects can be assigned. Once a puck is dropped to a new placement in the chart, the puck will snap to the beginning of the closest interval.
For example, a user configuring a schedule to support doctors' appointments may determine that all assignments (appointments) need to begin on the hour (:00) or half past the hour (:30).
Save Handler Action: The action that is called when a puck is dragged and dropped or resized.
Schedule object. Each parameter must be marked as optional.
Optional validation rules to apply to the schedule layer. See validation rules for more information.
Background and Event puck styles do not support Rules.
The Layout section is organized into four sub-sections that control the visual presentation of the widget.
The Metrics section allows you to supply custom functions to add metrics to the Gantt chart. You can configure two types of metrics:
See inline metrics for more information.
The Scheduling Gantt Chart widget generates output variables that can be used by other Workshop widgets to enhance your application. These output variables include: