# getGanttLabels

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

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

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

## Definition

```typescript
getGanttLabels(): Promise<GanttLabel[]>
```

Return type: `Promise<GanttLabel[]>`. Call the method after element registration and await its Promise result.

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

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

## Related charts


