supervision-js
    Preparing search index...

    Interface HeatmapAnnotationRenderer

    Colours scalar heatmap samples without changing the underlying scores.

    interface HeatmapAnnotationRenderer {
        id: string;
        kind: "heatmap";
        thresholdScale?: number;
        minimumAlpha?: number;
        opacity?: number;
        maximumScore?: number;
        colorStops?: readonly HeatmapColorStop[];
    }

    Hierarchy

    • BaseAnnotationRenderer
      • HeatmapAnnotationRenderer
    Index
    id: string

    Stable identity within one presentation.

    kind: "heatmap"
    thresholdScale?: number

    Multiplies each heatmap's model threshold; defaults to 1.

    minimumAlpha?: number

    Minimum alpha for visible samples, from 0 to 1; defaults to 0.

    opacity?: number

    Overall alpha multiplier, from 0 to 1; defaults to 1.

    maximumScore?: number

    Upper score mapped to the final colour stop; defaults to 1.

    colorStops?: readonly HeatmapColorStop[]

    Positions from 0 to 1 map scores from 0 to maximumScore.