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.
Data
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.Interface
schedules:segment-by
as a type class to your property of choice. Use the native Ontology Manager conditional formatting feature to specify which colors appear, otherwise the Gantt will rotate through a set of default colors. When conditional formatting is configured, the selected color for the object set appears as a triangular flag in the upper-left, as demonstrated in the image below.
Interactions
Enable interactions: When toggled off, pucks cannot be moved via drag-and-drop with the setting operating as a “read-only” option. On by default.
Allocation behavior: Determine how the placement of pucks will occur in the Scheduling Gantt Chart. There are five predefined options, including:
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).
Drag cursor to creation action: Enables a drag action across the interface to be used to create a new object for the schedulable object type. The user initiates action by holding shift and dragging their cursor within the widget.
Custom suggestions: Select the suggestion function for your schedule object. The function results will be rendered as highlighted areas on the chart when users pick up a puck. This can be used to indicate where users can or should place pucks. See suggestion functions for more information.
On puck select event: Configure Workshop events to trigger when a puck is selected in the chart.
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.
Right-click menu:
Rules: Optional validation rules to apply to the Schedule
layer. See validation rules for more information.
The Metrics section allows you to supply custom functions to add row-level or header-level metrics. See inline metrics for more information.
The Interface section contains the following configuration options:
The Scheduling Gantt Chart widget automatically generates four output variables that can be used by other Workshop widgets to enhance your app. These output variables include:
You can configure the user preference settings for the widget from the Settings cog in the top right corner of the widget frame.
Once configured, you can make this configuration the default configuration for all users. To do this, navigate to the User Preferences section of the configuration sidebar to the left of the screen, then copy and paste the content of the variable (on the right of the window) over to the Default Value section (on the left).