OptionalexternalOnly with verticalScroll: 'external': the connection to the host scroller.
Applies task changes from the host (also confirms pending edits).
Collapses a summary task.
Collapses every summary task.
Removes the chart and its listeners.
Expands a summary task.
Expands every summary task.
Picks the zoom that fits the whole project and scrolls to its start.
Row height in px.
Horizontal scroll position in px.
Scroll sync helpers for attachGrid.
Id of the selected task, or null.
The rows currently in the tree (collapsed branches left out).
Current zoom.
Whether a task is collapsed.
Subscribes to a chart event; returns the unsubscribe function.
Fires synchronously from every vertical scroll of the chart container (not debounced).
Asks the host to move a row, for hosts that drag rows in their grid. Sends task-reorder
(parent and previous sibling) when the drop is allowed; otherwise returns the reason and sends nothing.
Needs editable: true.
The host refused an edit intent (1.8): the bar returns to its real dates.
Scrolls so a YYYY-MM-DD date is visible.
Optionalalign: "start" | "center"Scrolls so a task row is visible.
Scrolls to today.
Selects a task (or clears with null) without emitting row-select.
Makes the rows follow a given order (a grid's displayed rows, see attachGrid): row i is order[i], null or an
unknown id is a blank placeholder row (group header, summary or "load more" row) that has no bar. While it is set the
collapse state is ignored. null goes back to the collapse-aware tree.
Sets the horizontal scroll position in px.
Sets the vertical scroll position in px.
The chart controller.
attachGrid(grid sync) is provided bygrid-sync.ts.