Compare cumulative energy across the three leading charging bays and track the site’s daily and monthly totals.
Energy delivered · 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.
snapshotEnergyDeliveredSnapshot | null
Bay history and independently aggregated site totals. Pass null for unavailable data.
snapshot.baysreadonly EnergyDeliveredBay[]
Bays with unique IDs, display labels and cumulative samples. The three highest latest readings are plotted.
samples[].minutenumber
Integer minute from the start of the site reporting day, 0–1440. All bays share the same reporting clock.
samples[].cumulativeKwhnumber
Finite, non-negative cumulative energy in kWh. Readings should be nondecreasing within the day.
snapshot.today / monthEnergyDeliveredTotal
Site-wide kWh and optional signed percentage change against the preceding comparable period.
localestring
Numeric formatting locale. Defaults to en-US.
Data and integration
Preview
Four fictional charging bays over a reporting day, with sample site totals and past-period comparisons.
Inputs
Timestamped cumulative kWh per bay, site-wide daily and monthly kWh, and optional percentage changes.
Source options
A charging management platform, site energy meter, or session rollup supplied by the host application.
Actions
Drag the chart cursor to inspect cumulative kWh by site time. Values between samples are interpolated from the displayed curves. Select a bay, then use the header button to open its most recent recorded samples in the card.
Integration requirements
Use the same site reporting clock for all bays. Normalize meter resets before sending cumulative readings, and aggregate site totals across all bays, including those outside the chart. Provide both today and month, with kwh: null for an unavailable total.