seriesAt

Returns every key's value at one slice, interpolating between the two slices the reader stands between.

@internote/canvas-sdkFunction
On this page
import { seriesAt } from '@internote/canvas-sdk';

A key whose own series starts late or ends early holds its nearest reading rather than vanishing, so a gap in one record does not punch a hole in the picture at every other key's expense.

#Signature

(series: SlicedSeries, at: number): Map<string, number>

#Parameters

series
The series buildSlicedSeries grouped.
at
The slice to read at, on the slice column's number line.

Declared in packages/canvas-sdk/src/data/sliced-series.ts:121.

Last updated