MomentumChartContextValue
Defined in: packages/react/src/momentum-types.ts:111
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
bars | readonly | readonly readonly MomentumBar[][] | - | packages/react/src/momentum-types.ts:122 |
frame | readonly | ChartFrame | The bars' plot rectangle, in pixels. | packages/react/src/momentum-types.ts:113 |
panels | readonly | readonly MomentumPanel[] | - | packages/react/src/momentum-types.ts:114 |
scaleX | readonly | (minute) => number | Match 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 |
scaleY | readonly | LinearScale | Value -> pixel, symmetric about the zero line, already flipped for SVG. | packages/react/src/momentum-types.ts:116 |