A chart-ready view of an OHLC series (Candlestick): the candle's
horizontal slot (x = left edge, xEnd = right edge) plus the four price
channels per mark — open/high/low/close. The chart derives the body
extents (min/max of open/close) itself at draw time; only the four raw
columns are read here.
A mark is drawn only where all four prices are finite; any one NaN is a
gap (the candle draws nothing — same gap contract as BoxSeries).
Unlike BoxSeries (interval-keyed only), the OHLC view supports both
key shapes, like BarSeries: an interval-keyed series (an
aggregate rollup — weekly/monthly bars) uses the key's own [begin, end) as
the slot; a point-keyed series (raw daily OHLCV) derives the slot from
neighbour spacing (see ohlcFromTimeSeries), so it feeds straight in
with no aggregate pass.
A chart-ready view of an OHLC series (Candlestick): the candle's horizontal slot (
x= left edge,xEnd= right edge) plus the four price channels per mark —open/high/low/close. The chart derives the body extents (min/maxof open/close) itself at draw time; only the four raw columns are read here.A mark is drawn only where all four prices are finite; any one
NaNis a gap (the candle draws nothing — same gap contract as BoxSeries).Unlike BoxSeries (interval-keyed only), the OHLC view supports both key shapes, like BarSeries: an interval-keyed series (an
aggregaterollup — weekly/monthly bars) uses the key's own[begin, end)as the slot; a point-keyed series (raw daily OHLCV) derives the slot from neighbour spacing (see ohlcFromTimeSeries), so it feeds straight in with noaggregatepass.