Enode — API Reference
    Preparing search index...
    • A minimal per-session bar chart for small stat cards. Pure/presentational.

      Parameters

      • __namedParameters: {
            className?: string;
            color: string;
            highlightIndex?: number;
            values: readonly (number | null)[];
        }
        • OptionalclassName?: string
        • color: string

          CSS colour of the bars (e.g. a metric-category var(--metric-…)).

        • OptionalhighlightIndex?: number

          Slot index (into values) drawn in full colour while the other bars are dimmed. Without it every bar is equal.

        • values: readonly (number | null)[]

          Chronological series (oldest → newest).

      Returns Element | null

      Every slot of values keeps its column, so a null or non-finite entry leaves a gap instead of re-spacing the bars. Bars start at zero (a bar's height is its value); negative values draw no bar. Renders nothing below two finite values, like the sparkline.