Interface: HeatmapData
Experimental
Data for HeatmapPrimitive.
Properties
| Property | Type | Description |
|---|---|---|
colorscale | Colorscale | Experimental sRGB 0–1 stops (shared LUT texture). |
interpolation | ColorscaleInterpolation | Experimental Space the LUT interpolates stops in. Default 'rgb'. |
nx | number | Experimental |
ny | number | Experimental |
opacity | number | Experimental Multiplies alpha (uniform). Default 1. |
reversescale | boolean | Experimental Uniform. Default false. |
smoothing | HeatmapSmoothing | Experimental Uniform. Default false. |
xEdges | ArrayLike<number> | Experimental Cell edges in LINEAR data coordinates (caller already applied log10 / category index): nx + 1 values, strictly monotonic, ascending or descending. Anything else hides the heatmap. |
xgap | number | Experimental Gaps between cells in CSS px (Plotly xgap / ygap), only applied without smoothing. Default 0. |
yEdges | ArrayLike<number> | Experimental ny + 1 edges, same rules. |
ygap | number | Experimental |
z | ArrayLike<number> | Experimental Row-major values: z[j * nx + i] is column i (x) of row j (y). Non-finite = transparent. |
zmax | number | Experimental Value at colorscale 1 (uniform). Default: max finite z (1 when none). |
zmin | number | Experimental Value at colorscale 0 (uniform). Default: min finite z (0 when none). |
zRange? | readonly [number, number] | Experimental Finite [min, max] of z when the caller already knows it: saves a pass over the values on upload (large grids). Must be given again with each new z. Default: computed. |