Enode — API Reference
    Preparing search index...
    • Daily training-load trend with an average line.

      Parameters

      • domain: {
            ariaLabel: string;
            average: number | null;
            axisLabels: readonly { index: number; text: string }[];
            className?: string;
            days: readonly SessionLoadChartDay[];
            domain: { max: number; min: number };
            hoveredIndex?: number | null;
            onHoveredIndexChange?: (index: number | null) => void;
            yTicks: readonly number[];
        }

        the value range the plot spans (typically 0 → a rounded max).

        • ariaLabel: string

          One-sentence summary for assistive tech — the chart itself is visual.

        • average: number | null
        • axisLabels: readonly { index: number; text: string }[]

          Date ticks under the plot, by day index. Pre-formatted by the caller.

        • OptionalclassName?: string
        • days: readonly SessionLoadChartDay[]
        • domain: { max: number; min: number }
        • OptionalhoveredIndex?: number | null

          The hovered day, when a caller links this chart to another over the same days; omit to let the chart track its own.

        • OptionalonHoveredIndexChange?: (index: number | null) => void
        • yTicks: readonly number[]

      Returns Element