Enode — API Reference
    Preparing search index...
    • A larger trend chart for a single metric across recent sessions, with a value axis (gridlines + ticks) and a date axis. Pure/presentational — the caller supplies formatValue (it owns units/locale) and color (a metric-category colour tinting the line, fill and dots). Renders nothing below two finite points.

      Parameters

      • __namedParameters: {
            className?: string;
            color: string;
            dotSize?: number;
            formatValue: (value: number) => string;
            highlightIndex?: number;
            mutedIndexes?: readonly number[];
            points: readonly MetricTrendPoint[];
            showAxes?: boolean;
            zeroBaseline?: boolean;
        }
        • OptionalclassName?: string
        • color: string
        • OptionaldotSize?: number

          Diameter (px) of the per-point dots. Defaults to 6.

        • formatValue: (value: number) => string
        • OptionalhighlightIndex?: number

          Slot index (into points) whose dot is drawn with a surrounding ring — marks that point as special (e.g. the live session). A null slot draws no dot and therefore no ring.

        • OptionalmutedIndexes?: readonly number[]

          Slot indexes whose dots render smaller and faded — points that count less than the rest of the series (e.g. warm-up attempts on the live board).

        • points: readonly MetricTrendPoint[]
        • OptionalshowAxes?: boolean

          Show the value + x-axis at all sizes. Default gates them to the chart's own width (via @container), matching the compact→annotated card transition.

        • OptionalzeroBaseline?: boolean

          Anchor the value axis at 0 (baseline) instead of the data's own minimum, so the fill reads as magnitude-from-zero rather than a zoomed window.

      Returns Element | null