View as Markdown

API reference: @salmonui/charts/heat-map

HeatMapCellsOptionsinterface

import type { HeatMapCellsOptions } from '@salmonui/charts/heat-map';
interface HeatMapCellsOptions {
    readonly labels?: boolean | undefined;
    readonly format?: Intl.NumberFormatOptions | ((value: number) => string) | undefined;
    readonly shape?: 'rect' | 'bubble' | undefined;
    readonly bubble?: 'size' | 'color' | 'sizeAndColor' | 'sector' | undefined;
    readonly highlight?: boolean | undefined;
}
HeatMapCellsOptions members (5)
NameSignatureDescription
labelsoptionalreadonly labels?: boolean | undefined;
formatoptionalreadonly format?: Intl.NumberFormatOptions | ((value: number) => string) | undefined;
shapeoptionalreadonly shape?: 'rect' | 'bubble' | undefined;
bubbleoptionalreadonly bubble?: 'size' | 'color' | 'sizeAndColor' | 'sector' | undefined;
highlightoptionalreadonly highlight?: boolean | undefined;

Dim other cells on hover. Default true.