DOM element that will host the Gantt chart.
Whether tasks can be split into multiple parts via mouse interaction. Default: true.
Automatically zoom to fit all data when project timeline is set. Default: true.
Working calendar observable.
New working calendar to apply.
Whether editing is enabled. When false, all mutations are disabled.
Whether redo is available (observable).
Whether undo is available (observable).
Event emitters for subscribing to chart events.
Active task filter function. Set to null to show all tasks.
Whether any task has baseline data set.
The task list containing all tasks and links.
The resource list containing all available resources.
Currently selected tasks in the sheet.
Settings object -- access theme, locale, and currency configuration.
The sheet (table) component.
Show or hide baseline bars on the chart.
Show or hide the critical path highlighting.
Show or hide grid lines on the chart.
Show or hide the today indicator line.
Remove baseline data from all tasks and hide baseline display.
Clear the active task filter (show all tasks).
Remove all timeline markers.
Copy selected tasks to clipboard.
Cut selected tasks to clipboard (copy + remove).
Destroy the component and release all DOM resources.
Export as an Excel file (requires exceljs).
Optionaloptions: GanttExcelExportOptionsExport the chart as a PNG image.
Export as a PDF file (requires jspdf).
Optionaloptions: GanttPdfExportOptionsScroll the timeline to the project start date.
Indent the selected tasks one level deeper in the hierarchy.
Load state from a JSON string. Automatically zooms to fit if data is present and autoZoomToFit is enabled.
Move the selected tasks one position down in the list.
Move the selected tasks one position up in the list.
Outdent the selected tasks one level up in the hierarchy.
Paste tasks from clipboard. Returns the pasted tasks, or null if nothing to paste.
Redo the last undone action.
Serialize the complete chart state to a JSON string.
Capture current task dates as baseline and enable baseline display.
Save current column widths and order for later restoration.
Scroll the timeline to a specific date.
Scroll horizontally and vertically to make a task visible, expanding collapsed parents if needed.
Undo the last action.
Zoom in one level. Returns false if already at maximum zoom.
Zoom out one level. Returns false if already at minimum zoom.
Central engine for the Gantt chart component managing tasks, resources, rendering, and user interaction.