pond-ts API Reference (core)
    Preparing search index...

    Class ValueKeyColumn

    Point key on a value axis (distance, cumulative work, …) rather than time — the substrate of a ValueSeries. Structurally identical to TimeKeyColumn (single Float64Array, end === begin); only the kind tag differs, which is what gates the calendar/clock operators (Sequence.every, tz tick formatting) off a value-keyed series.

    The buffer carries finite axis values, not epoch milliseconds. Ordering (non-decreasing) is NOT enforced here — the monotonicity contract lives on the byValue projection (assertMonotonicAxis), so the column stays a dumb indexed buffer (matching how the time columns don't self-validate sort order). Finiteness is enforced: a NaN / Infinity axis value would break bisection and range logic.

    Implements

    • KeyColumnBase<"value">
    Index

    Constructors

    Properties

    begin: Float64Array

    Half-open interval start in epoch milliseconds.

    end: Float64Array

    For a point value key, end === begin (same buffer) — a zero-width axis position.

    kind: "value" = ...
    length: number

    Row count.

    Methods