PitchKit
API Reference@pitchkit/reactInterfaces

HexbinProps

Defined in: packages/react/src/Hexbin.tsx:5

Extends

Type Parameters

Type Parameter
T

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
binsX?readonlynumberHexagon columns across the pitch length; the cell size follows from it.Omit.binsXpackages/core/src/scene/types.ts:150
className?publicstring--packages/react/src/Hexbin.tsx:6
colorMax?readonlystring-Omit.colorMaxpackages/core/src/scene/types.ts:152
colorMin?readonlystring-Omit.colorMinpackages/core/src/scene/types.ts:151
datareadonlyreadonly T[]-Omit.datapackages/core/src/scene/types.ts:144
stroke?readonlystringStroke colour for hexagon outlines; omitted = no outlines.Omit.strokepackages/core/src/scene/types.ts:154
strokeWidth?readonlynumber-Omit.strokeWidthpackages/core/src/scene/types.ts:155
style?publicCSSProperties--packages/react/src/Hexbin.tsx:7
weight?readonlyAccessor<T, number>Omitted = count of points per hexagon; provided = sum of this per hexagon.Omit.weightpackages/core/src/scene/types.ts:148
xreadonlyAccessor<T, number>-Omit.xpackages/core/src/scene/types.ts:145
yreadonlyAccessor<T, number>-Omit.ypackages/core/src/scene/types.ts:146

On this page