MAIDR JavaScript API
    Preparing search index...
    • A stack's series padded out to every category the stack draws, in axis order: each series' point at its category, and a gap where it has none.

      A gap is a point of no value (NaN), which the stacked bar trace announces as missing and leaves out of the category's total, as the MUI X adapter reads a bar its chart does not draw. A point Victory passes over keeps its value at its category: the data has it, although no bar shows it.

      Parameters

      • series: SegmentedPoint[][]

        The layer's points, one row per series

      • layout: StackLayout

        Where each point is drawn

      • names: readonly (string | undefined)[]

        Each series' name, for its gaps

      Returns SegmentedPoint[][]

      One point per category per series