Optional payload type for extra data.
Optional ReadonlydataArbitrary user data attached to the task.
Optional ReadonlydependenciesIDs of tasks that must complete before this task can start.
ReadonlyendTask end date (inclusive).
ReadonlyidUnique identifier.
Optional ReadonlymilestoneWhether this task is a milestone (zero-duration diamond marker).
Optional ReadonlyparentParent task ID for hierarchical grouping. Top-level tasks have no parent.
Optional ReadonlyprogressCompletion percentage (0–100). When provided a progress overlay is drawn inside the bar.
ReadonlystartTask start date (inclusive).
Optional ReadonlystyleVisual style overrides.
ReadonlytitleDisplay label shown in the task list.
A single task in a Gantt chart.