KDEProps
Defined in: packages/react/src/KDE.tsx:5
Extends
Omit<KdeLayer<T>,"type">
Type Parameters
| Type Parameter |
|---|
T |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
bandwidth? | readonly | number | Kernel bandwidth in provider units; omitted = Silverman's rule of thumb per axis. | Omit.bandwidth | packages/core/src/scene/types.ts:174 |
className? | public | string | - | - | packages/react/src/KDE.tsx:6 |
colorMax? | readonly | string | - | Omit.colorMax | packages/core/src/scene/types.ts:176 |
colorMin? | readonly | string | - | Omit.colorMin | packages/core/src/scene/types.ts:175 |
data | readonly | readonly T[] | - | Omit.data | packages/core/src/scene/types.ts:166 |
maxOpacity? | readonly | number | Opacity at the densest cell; density fades linearly to fully transparent at zero. | Omit.maxOpacity | packages/core/src/scene/types.ts:178 |
resolution? | readonly | number | Grid cells per axis the estimate is sampled on; higher = smoother, slower. | Omit.resolution | packages/core/src/scene/types.ts:172 |
style? | public | CSSProperties | - | - | packages/react/src/KDE.tsx:7 |
weight? | readonly | Accessor<T, number> | Omitted = every point counts equally; provided = each point's contribution is scaled by this. | Omit.weight | packages/core/src/scene/types.ts:170 |
x | readonly | Accessor<T, number> | - | Omit.x | packages/core/src/scene/types.ts:167 |
y | readonly | Accessor<T, number> | - | Omit.y | packages/core/src/scene/types.ts:168 |