One local day of readings keyed by minute after midnight. Use a nonnegative UV index or null at each time. Omit for the built-in example, pass null for an unavailable feed, or [] for an empty forecast.
currentMinutenumber (optional)
The location's current minute after midnight. The widget follows its nearest supplied time until you inspect the chart. Omit for the first time in a connected forecast.
locationstring (optional)
Forecast location shown in the header.
Data and integration
Preview
A sample day in Cascais with UV increasing in the morning, peaking around noon and falling through the afternoon.
Inputs
Supply one location's local calendar day. Each sample has minute (a whole minute from 0 to 1439 after local midnight) and index (a finite, nonnegative, unitless UV index or null). Use currentMinute in the same local time scale.
Source options
Map the provider's forecast or station observations to the location's local date and time before passing them in. Keep separate days in separate reports. The host refreshes the feed and supplies the current local time.
Actions
Tap or drag the chart, or use the arrow keys to step through the readings. Home and End select the first and last time. Peak jumps to the highest reading. Now resumes following the nearest sample to currentMinute. An inspected time is retained across data updates when it still exists.
Integration requirements
The widget sorts by local minute and keeps the last supplied record at each repeated time. Invalid times are skipped. Invalid readings at a valid time are treated as missing and leave an unfilled mark, while zero remains a valid reading. Chart spacing reflects elapsed local clock minutes. The display and exposure category use the same whole-number rounding, following the WHO UV Index scale. The peak uses the highest supplied reading and the earliest time at an exact tie. The widget does not interpolate values. Omit samples for the built-in example, use null for unavailable data, or [] for a known empty forecast.