Skip to content

Function: syncHeatmapColumns() ​

ts
function syncHeatmapColumns(prev, host, heatmap, lift, mesh): ExtrusionPrimitive | undefined;

Experimental

Draw a heatmap's cells as columns when its trace has depth (see the module comment; the lazily loaded side of extrudeHeatmap): creates, updates or removes the extrusion primitive and returns it. depth is the height at zmax in px, or a percentage of the mean cell width.

Parameters ​

ParameterType
prev| ExtrusionPrimitive | undefined
hostExtrusionHost
heatmapHeatmapPrimitive | undefined
liftreadonly LiftedPrimitive[]
meshMeshLazy

Returns ​

| ExtrusionPrimitive | undefined

Released under the MIT License.