Gantt Charts Plugin

Demo to preview the settings

Getting started

  1. Install the plugin in your project.
  1. Pick the “Gantt Chart” element from the toolbar and drag it onto the page.
Open the element's properties and fill in the required fields with data.
  • Type from DB. Required.
  • Source of first field Type. Required.
  • Task ID. Field of Task. Required.
  • Task Label. Field of Task. Required.
  • Task Start Date. Field of Task. Required.
  • Task Duration. Field of Task. Required.
  • Task Progress. Field of Task. Required.
  • Task Type. Field of Task. Required.
  • Task Collapsed. Field of Task. Required.
  • Task User. Field of Task. Required.
  • Task Parent. Field of Task. Required.
  • Task Depend On. Field of Task. Required.
  • Colors for Project, Milestone, and Task types.
  • (checkbox) Initialize Gantt Chart with visible/invisible tasklist
💡
Tip: A best practice is to create a separate type for tasks in Bubble DB, for example, “Task”.
The type should have the required fields:
  1. (REQUIRED) ID, can be a custom id, or bubble unique id, type ‘text’.
  1. (REQUIRED) Label, type ‘text’.
  1. (REQUIRED) Start Date, type ‘bubble date’.
  1. (REQUIRED) Duration, type ‘number’ it should be indicated as seconds. 86400 seconds represents a full 24h day.
  1. (REQUIRED) Progress, type ‘number’ it should be a number between 0-100, (representation of progress in percentages).
  1. (REQUIRED) Type, type ‘text’, it can be ‘task’, ‘project’, or ‘milestone’.
  1. (REQUIRED) Collapsed, type ‘yes/no’, and it will show the task expanded or collapsed.
  1. (REQUIRED) User, type ‘text’. This field can be written in DB like a simple name ‘John Doe’ or it can be written like an HTML link, ex: ‘<a href=”url_here”>John Doe</a>’.
  1. (REQUIRED) Parent, type ‘text’. This field should be another task id.
  1. (REQUIRED) Dependent, type ‘list of text’. This should be a list of dependent task IDs.
💡
Tip: All the properties marked with REQUIRED are essential for rendering in the Gantt chart. If a REQUIRED field is empty, the Gantt chart on the page preview will ignore the task. The simplest way to get the Gantt chart working is to prepare your data accordingly to our documentation.
An example of data from Bubble Task type:
Image without caption
An example of Task type in Bubble:
Image without caption

Design Customization

  1. Project Color - color for tasks that are marked like ‘project’.
  1. Milestone Color - color for tasks that are marked like ‘milestone’.
  1. Task Color - color for tasks that are marked like ‘task’.
    1. All three options are optional. By default project color is #F95C4C, the milestone color is #0287D0 and the task color is #8E44AD.
  1. Show Task List - will render a Gantt chart with the attached tasklist or not.

Workflows

  1. Scale X - will zoom the chart on X-axis, minimum value 2, maximum value 24.
  1. Scale Y - will zoom the chart on Y-axis, with a minimum value of 7, and a maximum value of 100.
  1. Center Chart - will center the chart on the current date/time.

Changelogs

Update 7.05.2022 - Version: 1.8.0

  • fixed - problem with the progress bar

Update 27.10.22 - Version: 1.11.0

  • minor fixes

Update 1.12.22 - Version: 1.12.0

  • minor fixes

Update 9.12.22 - Version: 1.13.0

  • style minor fixes

Update 27.01.23 - Version: 1.14.0

  • fixed disclosure of nested tasks on the new responsive version

Update 26.04.23 - Version: 1.17.0

  • Fixed "Task Collapsed", "Task User" and "Task Parent" fields

Update 03.08.23 - Version: 1.20.0

  • Added "Timeline" & "Funnel" charts.

Update 18.08.23 - Version: 1.22.0

  • updated documentation fields

Update 11.09.23 - Version: 1.24.0

Added support for "dynamic value" in Color type fields.