# getGanttCriticalPath

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

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

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

## Definition

```typescript
getGanttCriticalPath(): Promise<GanttCriticalPathResult|null>
```

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

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

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

## Related charts


