Skip to content

Function: heatmapColumns() ​

ts
function heatmapColumns(d, top, gapX?, gapY?): HeatmapColumns;

Experimental

The columns of a heatmap top px tall at zmax (see the module comment), their cells inset by the gaps (gapX / gapY: half the gap in data units). Cells without a value have NaN corners.

Parameters ​

ParameterTypeDefault value
dPick<HeatmapData, "z" | "nx" | "ny" | "xEdges" | "yEdges" | "colorscale" | "zmin" | "zmax"> & Partial<Pick<HeatmapData, "reversescale">>undefined
topnumberundefined
gapXnumber0
gapYnumber0

Returns ​

HeatmapColumns

Released under the MIT License.