Function stackOffsetWiggle

  • Shifts the baseline so as to minimize the weighted wiggle of layers. This offset is recommended for streamgraphs in conjunction with the inside-out order. See Stacked Graphs—Geometry & Aesthetics by Bryon & Wattenberg for more information.

    Parameters

    • series: Series<any, any>

      A series generated by a stack generator.

    • order: Iterable<number>

      An array of numeric indexes representing the stack order.

    Returns void