# getDataset

the dataset after its transforms (id, dimensions, rows), or null without a dataset.

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

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

## Definition

```typescript
getDataset(): Promise<{ id: string | undefined; dimensions: ReadonlyArray<{ index: number; name: string; type: string }>; rows: ReadonlyArray<ReadonlyArray<unknown>> } | null>
```

Return type: `Promise<{ id: string | undefined; dimensions: ReadonlyArray<{ index: number; name: string; type: string }>; rows: ReadonlyArray<ReadonlyArray<unknown>> } | null>`. Call the method after element registration and await its Promise result.

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

## Related charts


