# ChartData

interface in `@dioramajs/data/chart`

```ts
import type { ChartData } from '@dioramajs/data/chart'
```

What the chart shows: categories down the rows and a series per value column.

```ts
interface ChartData
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `categories` | `readonly string[]` |  |
| `prefix` | `string` | A currency sign or another short prefix every value shares, for the axis. |
| `series` | `readonly Series[]` |  |
| `suffix` | `string` | `%` and the like when every value has it, for the axis. |

Defined in [packages/data/src/chart.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/data/src/chart.ts#L65).
