Function: sampleHeatmap()
ts
function sampleHeatmap(data, x, y, transform?): number;Experimental
The value the shader colors at data point (x, y) (linear data coordinates), or NaN where the fragment is transparent: outside the edges, on a non-finite cell, in a gap, or for invalid data. transform only matters for gaps (px per data unit); default identity.
Parameters
| Parameter | Type | Default value |
|---|---|---|
data | HeatmapSampleInput | undefined |
x | number | undefined |
y | number | undefined |
transform | DataTransform | IDENTITY_TRANSFORM |
Returns
number