TypeScript SDK Reference / HeatmapOptions
Interface: HeatmapOptions
Options for configuring the heatmap visualization. Pass to the HeatmapRenderer constructor or to updateOptions().
Properties
enabled?
optionalenabled:boolean
Enable or disable the heatmap overlay. Default true.
mode?
optionalmode:HeatmapPresetName|HeatmapVariantConfig
Select the heatmap variant.
- A
HeatmapPresetNamestring selects a built-in preset. - A
HeatmapVariantConfigobject applies a fully custom configuration. Default:"field".
ppgHistorySize?
optionalppgHistorySize:number
Number of PPG signal samples to keep for amplitude normalization. Larger values produce smoother color changes. Default: 120.
renderFps?
optionalrenderFps:number
Target render frame rate for the heatmap canvas. Default: 30.