Review shift totals and compare cycle times phase by phase.
Truck Cycle Times · 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.
snapshotHaulCycleSnapshot | null (optional)
Shift totals and ordered cycle phases with minutes and optional comparable prior values. Omit for demo data or pass null for an unavailable feed.
Data and integration
Preview
Five stages of a fictional haul cycle with a prior-period comparison.
Inputs
Use site, shift, optional display-ready recordedAt, nonnegative tonnesMoved in metric tonnes, and a whole-number completedCycles count. Supply phases in cycle order with unique, stable IDs and labels. Use nonnegative minutes or null when a phase is unreported. Optional priorMinutes uses the same unit and aggregation, and vehicles is a nonnegative whole count for that phase.
Source options
Aggregate observations by phase in the dispatch feed. Compare the same kind of summary across periods. The sum of phases appears when every current phase is known.
Actions
The longest reported phase is initially selected. The bars show current minutes, and amber ticks show prior minutes. Hover to preview a phase. Click, tap, drag or use the arrow keys to keep a selection. Home and End select the first and last phases.