Heatmap
Hour by weekday on a five-step ramp from fill to series 1; never a rainbow.
<Heatmap aria-label="Requests by hour and weekday" rows={days} columns={hours} values={values} />import { Heatmap } from "@logicplanes/kaeso-ui";Props
aria-labelstringThe chart's accessible name ("Requests by model").
columnLabelEverynumber = 3Labels every nth column, starting with the first (3 by default), so dense columns stay readable.
columnsstring[]The column labels, left to right (hours, or weeks).
formatValue((v: number) => string) = (v) => formatNumber(v)Formats a cell's value for its tooltip and screen readers. Defaults to
formatNumber.rowsstring[]The row labels, top to bottom (weekdays).
valuesnumber[][]The values by row, then column:
values[row][column]. The darkest step is the largest value.