API REFERENCE

GanttTask

The GanttTask type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface GanttTask {
  index:number;
  id:string;
  label:string;
  start:number;
  end:number;
  duration:number;
  milestone:boolean;
  progress:number;
  color:string|null;
  origin:'data'|'stream';
  baseline?:GanttBaseline;
}