API reference: @salmonui/charts/heat-map
HeatMapLegendOptionsinterface
import type { HeatMapLegendOptions } from '@salmonui/charts/heat-map';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;
}
| Name | Signature | Description |
|---|---|---|
positionoptional | readonly position?: 'top' | 'bottom' | 'start' | 'end' | undefined; | |
titleoptional | readonly title?: string | undefined; | |
labelsoptional | readonly labels?: 'all' | 'edge' | 'none' | undefined; | |
formatoptional | readonly format?: ((value: number) => string) | undefined; | |
toggleoptional | readonly toggle?: boolean | undefined; | Steps legend items toggle cells of that step. Default true. |