Compare 7 or 14 days of training load, inspect individual days and track your average against a supplied target band.
Workout Load Trends · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
snapshotTrainingLoadSnapshot | null (optional)
Dated daily load, optional session counts, one unit and an optional target band. Omit all data props for the example or pass null for unavailable data.
athletestring
The athlete’s display name.
historyreadonly TrainingLoadDay[]
Existing history input, with stable ID, label and load per day in chronological order. Supply snapshot for a dated calendar.
targetBandTrainingLoadBand
Optional target boundaries for the existing history input. Include the band on snapshot when using dated reports.
load / target / sessionsnumber
Supply existing weekly summary fields without snapshot or history. Omitted readings are displayed as unavailable.
Data and integration
Preview
A fictional 14-day training report with two recorded zeroes, one missing date, per-day session counts and a target band.
Inputs
Supply throughDate and each day’s date as YYYY-MM-DD in the athlete’s reporting calendar. Each day has a nonnegative load or null, and an optional nonnegative whole sessions count. Optional unit labels the report and defaults to AU. Optional targetBand supplies low and high in that same unit. The legacy history and weekly inputs remain available.
Source options
Prepare daily totals from one consistent training-load method upstream. Use the same reporting time zone to set each local date and throughDate. Include each measured zero explicitly. Refresh the snapshot when the training log changes.
Actions
Select 7 or 14 days, then tap, drag or use the arrows on the graph to inspect one day. A selected date stays selected while it is in view.
Integration requirements
The inclusive window ends on throughDate. Use days: [] for an empty report, or days: null or snapshot: null for unavailable data. Missing dates and invalid or null loads keep their place and are excluded from the average. Recorded zeros are included. Duplicate dates use the last entry. A target must satisfy 0 ≤ low ≤ high; omitted or invalid bands leave the history unclassified. Legacy history keeps its supplied order and omits calendar gap filling. Reported load and target use the same units; the widget displays a comparison supplied by the host.