weather-ForecastAirQualityView

The Forecast Air Quality View provides color indication of forecasted air quality, along with a (text) description of a forecasted air quality state. It is an available view of each child Forecast component (Today, Tomorrow, <daysOfWeek>) under a WeatherReport (locale).
Figure 42.   Forecast Air Quality View example
Image

On a Px page, to add this view, drag a Forecast component onto the Px canvas. In the resulting Make Widget dialog, select: Workbench view, then: Forecast Air Quality View.

You can resize the rectangle provided for the view, and optionally change the widget’s showAqi property from the default false to true. If showAqi is true, the numerical AQI value (air quality index) displays after the air quality state text descriptor, in parentheses.

 NOTE: Depending on the specific WeatherReport (locale), some number of Forecast components may have an “unknown” air quality state. Otherwise, this view operates the same as the Current Air Quality View on the WeatherReport or its CurrentConditions child component.