# GanttTask

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

Canonical: https://chart.syidax.com/docs/types/GanttTask/

<a id="declaration"></a>

## 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;
}
```

<a id="related"></a>

## Related types

- [GanttBaseline](https://chart.syidax.com/docs/types/GanttBaseline.md)
