# getGanttExtent

An asynchronous method. Check the argument and return types below.

Canonical: https://chart.syidax.com/docs/methods/getGanttExtent/

<a id="definition"></a>

## Definition

```typescript
getGanttExtent(): Promise<GanttExtent | null>
```

Return type: `Promise<GanttExtent | null>`. Call the method after element registration and await its Promise result.

- [GanttExtent](https://chart.syidax.com/docs/types/GanttExtent.md) — Type definition

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

## Related charts


