API reference: @salmonui/charts/heat-map
HeatMapColorScaleinterface
import type { HeatMapColorScale } from '@salmonui/charts/heat-map';interface HeatMapColorScale {
readonly kind?: 'gradient' | 'steps' | undefined;
readonly stops?: readonly HeatMapStop[] | undefined;
readonly domain?: 'all' | 'row' | 'column' | undefined;
readonly outOfRange?: string | undefined;
}
| Name | Signature | Description |
|---|---|---|
kindoptional | readonly kind?: 'gradient' | 'steps' | undefined; | |
stopsoptional | readonly stops?: readonly HeatMapStop[] | undefined; | Data values (domain |
domainoptional | readonly domain?: 'all' | 'row' | 'column' | undefined; | Normalize per table, row or column. Default |
outOfRangeoptional | readonly outOfRange?: string | undefined; | Color of values outside the stop range (steps); default the end stops. |