@rekhly/charts-finance16 exported symbols — see also the package guide.
(options: FinancialChartOptions) => FinancialChartCompile candlesticks: body rect + high/low wick.
(points: readonly OHLCPoint[], coords: RekhlyCoordinates, width?: number) => PrimitiveNode[]Order-book depth heatmap. Fill intensity scales with `size` relative to the deepest level in the book — this is what makes it a heatmap rather than a flat bar chart: thin levels read as faint, deep liquidity reads as saturated, on both sides independently.
(levels: readonly DepthLevel[], coords: RekhlyCoordinates) => PrimitiveNode[](points: readonly OHLCPoint[], coords: RekhlyCoordinates) => PrimitiveNode[]Classic OHLC ticks: wick + open (left) + close (right).
(points: readonly OHLCPoint[], coords: RekhlyCoordinates, width?: number) => PrimitiveNode[](points: readonly OHLCPoint[], coords: RekhlyCoordinates, field?: "close" | "open", color?: string) => PrimitiveNode[](times: ArrayLike<number>, prices: ArrayLike<number>, coords: RekhlyCoordinates) => PrimitiveNode[]Volume bars in the lower band of the plot (independent of price scale).
(points: readonly OHLCPoint[], coords: RekhlyCoordinates, width?: number) => PrimitiveNode[]interface DepthLevel| price | number |
| size | number |
| side | "bid" | "ask" |
Price + volume financial chart on the WebGL core. Volume occupies the lower band of the plot (independent scale) and shares the X axis with price. Indicators are computed in `@rekhly/indicators`.
class FinancialChartinterface FinancialChartOptions| container | string | HTMLElement |
| canvas? | HTMLCanvasElement | undefined |
| theme? | Theme | BuiltinThemeName | undefined |
| renderer? | RendererPrefs | undefined |
| width? | number | undefined |
| height? | number | undefined |
| locale? | Locale | undefined |
| translations? | Partial<MessageTable> | undefined |
interface OHLCPoint| time | number |
| open | number |
| high | number |
| low | number |
| close | number |
| volume? | number | undefined |
type OverlayIndicator = OverlayIndicatortype PriceStyle = PriceStyle(point: OHLCPoint) => void(points: readonly OHLCPoint[]) => voidGot any questions? I'm happy to help with products, licensing, and examples.