MAIDR JavaScript API
    Preparing search index...

    The part of an MUI X colour map that decides whether a value gets a colour -- and so, on a heatmap, whether its cell is drawn at all.

    interface MuiColorMap {
        type?: "ordinal" | "continuous" | "piecewise";
        values?: readonly unknown[];
        colors?: readonly unknown[];
        unknownColor?: string;
    }
    Index

    Properties

    type?: "ordinal" | "continuous" | "piecewise"
    values?: readonly unknown[]

    Ordinal: the values that have a colour.

    colors?: readonly unknown[]

    Ordinal: one colour per value (or per index, without values).

    unknownColor?: string

    The colour of a value the map does not cover; without it, none.