weather-ForecastAirQualityView

 (AX-3.6 and later) 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 39. Forecast Air Quality View example


Forecast Air Quality View example

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.

NoteDepending 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. See Table 1 for possible air quality states and color indication.