# HeatMapAxis (@salmonui/charts/heat-map)

> The HeatMapAxis interface of @salmonui/charts/heat-map.

Canonical: https://salmonui.dev/docs/reference/charts/heat-map/HeatMapAxis

```ts
import type { HeatMapAxis } from '@salmonui/charts/heat-map';
```

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

## Reference

Kind: interface

```ts
interface HeatMapAxis {
    readonly scale?: 'category' | 'linear' | 'time' | undefined;
    readonly labels?: readonly string[] | undefined;
    readonly min?: number | undefined;
    readonly max?: number | undefined;
    readonly interval?: number | undefined;
    readonly format?: Intl.NumberFormatOptions | Intl.DateTimeFormatOptions | ((value: string) => string) | undefined;
    readonly labelOverlap?: 'none' | 'hide' | 'trim' | 'wrap' | 'rotate45' | 'rotate90' | undefined;
    readonly maxLabelWidth?: number | undefined;
    readonly position?: 'bottom' | 'top' | 'start' | 'end' | undefined;
    readonly reversed?: boolean | undefined;
    readonly title?: string | undefined;
    readonly labelGroups?: readonly HeatMapLabelGroup[] | undefined;
}
```

Members (12):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `scale` | `readonly scale?: 'category' \| 'linear' \| 'time' \| undefined;` | optional | How keys are ordered and formatted. Default `category` (first seen order). |
| `labels` | `readonly labels?: readonly string[] \| undefined;` | optional | Explicit category labels (table data), in order. |
| `min` | `readonly min?: number \| undefined;` | optional | Numeric / time axes: keep keys in [min, max]. |
| `max` | `readonly max?: number \| undefined;` | optional |  |
| `interval` | `readonly interval?: number \| undefined;` | optional | Show every `interval`-th label. |
| `format` | `readonly format?: Intl.NumberFormatOptions \| Intl.DateTimeFormatOptions \| ((value: string) => string) \| undefined;` | optional | Label format for numeric and time keys. |
| `labelOverlap` | `readonly labelOverlap?: 'none' \| 'hide' \| 'trim' \| 'wrap' \| 'rotate45' \| 'rotate90' \| undefined;` | optional |  |
| `maxLabelWidth` | `readonly maxLabelWidth?: number \| undefined;` | optional |  |
| `position` | `readonly position?: 'bottom' \| 'top' \| 'start' \| 'end' \| undefined;` | optional | x: `bottom` \| `top`; y: `start` \| `end`. |
| `reversed` | `readonly reversed?: boolean \| undefined;` | optional |  |
| `title` | `readonly title?: string \| undefined;` | optional |  |
| `labelGroups` | `readonly labelGroups?: readonly HeatMapLabelGroup[] \| undefined;` | optional | Multi-level labels below (x) or beside (y) the axis labels. |
