fcharts-js - v0.3.0
    Preparing search index...

    Interface HeatmapOptions

    interface HeatmapOptions {
        cellHeight?: number;
        colors?: readonly [string, string];
        embedData?: boolean;
        formatValue?: (v: number) => string;
        theme?: Partial<SvgTheme>;
        title?: string;
        width: number;
    }
    Index

    Properties

    cellHeight?: number

    Height of each cell row, px. Default 22.

    colors?: readonly [string, string]

    Two-stop sequential ramp [lowColor, highColor]; cells interpolate linearly in sRGB. Default a light-blue → dark-blue pair readable on both themes (paired with the cell outline).

    embedData?: boolean
    formatValue?: (v: number) => string

    Format cell values for the cell <title> + the legend. Default String.

    theme?: Partial<SvgTheme>
    title?: string

    Accessible name / title. Default 'Heatmap'.

    width: number