View as Markdown

API reference: @salmonui/charts/heat-map

HeatMapCellinterface

import type { HeatMapCell } from '@salmonui/charts/heat-map';
interface HeatMapCell {
    readonly x: number;
    readonly y: number;
    readonly xKey: string;
    readonly yKey: string;
    readonly value: number;
    readonly size: number | null;
    readonly color: string;
}
HeatMapCell members (7)
NameSignatureDescription
xreadonly x: number;
yreadonly y: number;
xKeyreadonly xKey: string;
yKeyreadonly yKey: string;
valuereadonly value: number;

NaN for an empty cell.

sizereadonly size: number | null;
colorreadonly color: string;