A chart-ready view of an interval-keyed series for bars: each mark spans
[begin[i], end[i]] (the key's range) with height y[i]. Unlike
ChartSeries (a single x point per row), a bar needs both key
endpoints to know its x-span, so the time axis is split into begin/end.
Missing / non-finite values are NaN in y — the gap signal drawBars
skips (no bar), same Number.isFinite contract as ChartSeries. For a
point-keyed series (begin === end), barsFromTimeSeries derives a span
from neighbour spacing so the bars still have width (see there).
A chart-ready view of an interval-keyed series for bars: each mark spans
[begin[i], end[i]](the key's range) with heighty[i]. Unlike ChartSeries (a singlexpoint per row), a bar needs both key endpoints to know its x-span, so the time axis is split intobegin/end.Missing / non-finite values are
NaNiny— the gap signal drawBars skips (no bar), sameNumber.isFinitecontract as ChartSeries. For a point-keyed series (begin === end),barsFromTimeSeriesderives a span from neighbour spacing so the bars still have width (see there).