The type of the optional data property on tasks. Defaults to never.
The type of the optional data property on links. Defaults to never.
Constructs a new chart, builds the DOM, and wires internal event handling. Data must be loaded via update before the chart renders. Callbacks must be set via setCallbacks before user interactions are handled.
The type of the optional data property on tasks. Defaults to never.
The type of the optional data property on links. Defaults to never.
The host HTMLElement the chart will be appended to.
Configuration options.
Removes the chart DOM and internal listeners, rendering the instance unusable. Subsequent calls to any public method will throw.
Sets or replaces the chart's user-facing callbacks. Does not trigger a re-render.
The GanttCallbacks to register.
Merges the supplied options into the current configuration and re-renders only the panes affected by the changed options.
A partial GanttOptions object. Only the keys present in this parameter are updated; missing keys keep their previous values.
Replaces the full dataset and re-renders.
The new GanttInput to apply.
Progressive-enhancement Gantt chart component. Validates input, builds a DOM tree, and renders a full interactive chart inside the given container element.
Example