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

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

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

```ts
import type { HeatMapLegendOptions } 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 HeatMapLegendOptions {
    readonly position?: 'top' | 'bottom' | 'start' | 'end' | undefined;
    readonly title?: string | undefined;
    readonly labels?: 'all' | 'edge' | 'none' | undefined;
    readonly format?: ((value: number) => string) | undefined;
    readonly toggle?: boolean | undefined;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `position` | `readonly position?: 'top' \| 'bottom' \| 'start' \| 'end' \| undefined;` | optional |  |
| `title` | `readonly title?: string \| undefined;` | optional |  |
| `labels` | `readonly labels?: 'all' \| 'edge' \| 'none' \| undefined;` | optional |  |
| `format` | `readonly format?: ((value: number) => string) \| undefined;` | optional |  |
| `toggle` | `readonly toggle?: boolean \| undefined;` | optional | Steps legend items toggle cells of that step. Default true. |
