# ChartFormat (@salmonui/charts/chart)

> The ChartFormat type of @salmonui/charts/chart: A number preset ('n2', 'c0', 'p1'), a {value} template ('{value} °C'), or Intl options.

Canonical: https://salmonui.dev/docs/reference/charts/chart/ChartFormat

```ts
import type { ChartFormat } from '@salmonui/charts/chart';
```

Entry index: https://salmonui.dev/docs/reference/charts/chart (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/charts/chart.md).

## Reference

Kind: type

```ts
type ChartFormat = string | Intl.NumberFormatOptions | Intl.DateTimeFormatOptions;
```

A number preset (`'n2'`, `'c0'`, `'p1'`), a `{value}` template (`'{value} °C'`), or `Intl` options.
