Function: inHeatmapGap()
ts
function inHeatmapGap(axis, a, cell, gap, pxPerUnit): boolean;Experimental
Whether directed coordinate a in cell falls in the gap strip: within gap / 2 px of either cell edge, with px = data distance × pxPerUnit (|transform scale|). Always false for gap ≤ 0.
Parameters
| Parameter | Type |
|---|---|
axis | HeatmapAxis |
a | number |
cell | number |
gap | number |
pxPerUnit | number |
Returns
boolean