Skip to content

@urban-toolkit/autk-plot


@urban-toolkit/autk-plot / ReduceSeriesTransformConfig

Type Alias: ReduceSeriesTransformConfig ​

ReduceSeriesTransformConfig = object

Defined in: api.ts:167

Reduce-series preset config.

The series array column is read from PlotConfig.attributes.axis[0]. Use '@transform' in axis[1] to mark the output slot. timestamp and value are sub-fields within each series point. Unlike binning-events, timestamps are used as-is with no resolution bucketing.

Properties ​

options? ​

optional options?: object

Defined in: api.ts:169

reducer? ​

optional reducer?: TransformReducer

Reducer applied across features sharing the same timestamp. Defaults to 'avg'.

timestamp? ​

optional timestamp?: string

Field within each series point that holds the timestamp. Defaults to 'timestamp'.

value? ​

optional value?: string

Field within each series point that holds the numeric value. Defaults to 'value'.


preset ​

preset: "reduce-series"

Defined in: api.ts:168

Released under the MIT License.