Enode — API Reference
    Preparing search index...
    • Map a chronological series (oldest → newest) to points in a 0–100 box.

      X is spaced by each value's index in the FULL series (nulls included), not by its position among the finite values — so every metric's sparkline shares the same x-axis and a missing point leaves its slot empty, with the line bridging straight to the next finite neighbour instead of dropping the slot and re-spacing (which made different metrics show different point counts).

      Y is normalized against an absolute-zero baseline up to the series max (not the series' own minimum, which turns a small wobble into a cliff), with a 6% top/bottom inset so extremes aren't clipped by the stroke. Returns [] for fewer than two finite points (nothing to draw).

      Parameters

      • values: readonly (number | null)[]

      Returns SparkPoint[]