PitchKit
API Reference@pitchkit/reactInterfaces

MomentumChartContextValue

Defined in: packages/react/src/momentum-types.ts:111

Properties

PropertyModifierTypeDescriptionDefined in
barsreadonlyreadonly readonly MomentumBar[][]-packages/react/src/momentum-types.ts:122
framereadonlyChartFrameThe bars' plot rectangle, in pixels.packages/react/src/momentum-types.ts:113
panelsreadonlyreadonly MomentumPanel[]-packages/react/src/momentum-types.ts:114
scaleXreadonly(minute) => numberMatch minute -> pixel, in whichever period contains it, or the nearest one for a minute that falls in a gap between periods.packages/react/src/momentum-types.ts:121
scaleYreadonlyLinearScaleValue -> pixel, symmetric about the zero line, already flipped for SVG.packages/react/src/momentum-types.ts:116

On this page