HeatmapProps
Defined in: packages/react/src/Heatmap.tsx:7
Extends
Omit<HeatmapLayer<T>,"type">
Type Parameters
| Type Parameter |
|---|
T |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
binsX? | readonly | number | - | Omit.binsX | packages/core/src/scene/types.ts:100 |
binsY? | readonly | number | - | Omit.binsY | packages/core/src/scene/types.ts:101 |
className? | public | string | Every bin gets painted (from colorMin to colorMax, including zero-value bins) rather than leaving low bins transparent, so a heatmap fully covers the pitch underneath by default. Set an opacity here (or a blend mode) to let the pitch show through. | - | packages/react/src/Heatmap.tsx:14 |
colorMax? | readonly | string | Color at the highest bin value in the scene's data. | Omit.colorMax | packages/core/src/scene/types.ts:105 |
colorMin? | readonly | string | Color at the lowest bin value in the scene's data. | Omit.colorMin | packages/core/src/scene/types.ts:103 |
data | readonly | readonly T[] | - | Omit.data | packages/core/src/scene/types.ts:95 |
style? | public | CSSProperties | - | - | packages/react/src/Heatmap.tsx:15 |
weight? | readonly | Accessor<T, number> | Omitted = count of points per bin; provided = sum of this per bin. | Omit.weight | packages/core/src/scene/types.ts:99 |
x | readonly | Accessor<T, number> | - | Omit.x | packages/core/src/scene/types.ts:96 |
y | readonly | Accessor<T, number> | - | Omit.y | packages/core/src/scene/types.ts:97 |