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

    Function bandFromTimeSeries

    • Build a BandSeries from a pond TimeSeries — two numeric columns for the lower/upper edges sharing the series' time axis. The edge columns are typically rollingByColumn percentiles (e.g. p25/p75); a sample with either edge missing reads as a gap in the fill.

      Type Parameters

      • S extends SeriesSchema

      Parameters

      • series: TimeSeries<S>
      • lower: string
      • upper: string

      Returns BandSeries

      RangeError if lower or upper does not exist.

      TypeError if lower or upper is not a numeric column.