Riksdagsmonitor Intelligence Platform โ€” API Documentation - v0.8.68
    Preparing search index...

    Interface HeatMapConfig

    CSS-only heat-map configuration

    interface HeatMapConfig {
    ย ย ย ย id: string;
    ย ย ย ย title: string;
    ย ย ย ย rowLabels: string[];
    ย ย ย ย columnLabels: string[];
    ย ย ย ย cells: HeatMapCell[][];
    ย ย ย ย minLabel?: string;
    ย ย ย ย maxLabel?: string;
    }
    Index

    Properties

    id: string

    Unique identifier used as the container element id

    title: string

    Chart title

    rowLabels: string[]

    Row labels (left axis)

    columnLabels: string[]

    Column labels (top axis)

    cells: HeatMapCell[][]

    Row-major matrix of cells (rows.length ร— columns.length)

    minLabel?: string

    Label for the low-intensity end of the scale

    maxLabel?: string

    Label for the high-intensity end of the scale