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

    Function categoryStack

    • Build a StackedBarSeries (single group, G === 1) from an ordered list of { label, value } categories — one unit slot [i, i+1] per category, in order. This is the categorical row-read's geometry: the slots are ordinal indices (the bar's pixel span comes from the container's ScaleBand), and the labels become the axis's ordered category names (xCategories). A non-finite value reads as a gap (NaN). Reuses the shipped stacked geometry — no new draw path.

      Parameters

      Returns StackedBarSeries