@pond-ts/charts API Reference
    Preparing search index...

    Function Candlestick

    • A first-class OHLC candlestick draw layer — the financial sibling of BoxPlot. Reads four price columns (open/high/low/close) of series into an OhlcSeries and draws one candle per key: the open→close body (direction-coloured) and the high–low wick, over the key's slot x-span. Derives the body extents itself (min/max of open/close) — the consumer never runs a withColumn precompute. Registers into the enclosing Layers; renders nothing to the DOM — the row draws it. Gap-aware (a key missing any price draws nothing).

      Draws only — windowing stays upstream: raw daily OHLCV is a point-keyed TimeSeries fed straight in, and a weekly / monthly bar is the identical call on an aggregate(Sequence.calendar('week'), …) rollup (interval-keyed). This supersedes BoxPlot shape='solid' for OHLC (which needed a quantile remap, a body precompute, two overlaid layers for green/red, and a column-name tracker).

      Cursor. Unlike BoxPlot, a candle participates in the crosshair x-snap (it exposes plain sampleAt, not a consolidated cursorFlag), so the reticle lands on candles. The readout keys on as and shows close by default; pass showOHLC for the full four-pill quote.

      <Layers>
      <Candlestick series={daily} as="AAPL" />
      </Layers>

      Type Parameters

      • S extends SeriesSchema

      Parameters

      Returns null