MomentumChartContextValue
Defined in: packages/react/src/momentum-types.ts:129
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
bars | readonly | readonly readonly MomentumBar[][] | One list per period, bars[period - 1]. A bar's index points into data. | packages/react/src/momentum-types.ts:141 |
frame | readonly | ChartFrame | The bars' plot rectangle, in pixels. | packages/react/src/momentum-types.ts:131 |
panels | readonly | readonly MomentumPanel[] | - | packages/react/src/momentum-types.ts:132 |
scaleX | readonly | (minute, period) => number | Match minute -> pixel, in the given period (1 for the first half). A minute outside that period is clamped to its edge. | packages/react/src/momentum-types.ts:139 |
scaleY | readonly | LinearScale | Value -> pixel, symmetric about the zero line, already flipped for SVG. | packages/react/src/momentum-types.ts:134 |