Skip to main content

Interface: GanttTask

Defined in: src/mobjects/graphing/GanttChart.ts:22

One task on the timeline.

Properties​

color?​

optional color: string

Defined in: src/mobjects/graphing/GanttChart.ts:32

Explicit bar color. Default: cycled from the palette by row.


dependencies?​

optional dependencies: string[]

Defined in: src/mobjects/graphing/GanttChart.ts:34

Names of tasks this task depends on (for dependency arrows).


end​

end: GanttTimeValue

Defined in: src/mobjects/graphing/GanttChart.ts:28

End of the task (number or Date).


name​

name: string

Defined in: src/mobjects/graphing/GanttChart.ts:24

Unique task name, used for labels and as a dependency reference.


row?​

optional row: string

Defined in: src/mobjects/graphing/GanttChart.ts:30

Row key. Tasks that share a key share a row. Default: the task name.


start​

start: GanttTimeValue

Defined in: src/mobjects/graphing/GanttChart.ts:26

Start of the task (number or Date).