
On a Px page, to add this view, drag a WeatherReport (locale) or its Current child onto the Px canvas. In the resulting Make Widget dialog, select:
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. The example
“moderate” air quality state above relates to an AQI of 63.
Possible air quality states are shown below, by default descriptor, color, and AQI range.
Air Quality View (Current and Forecast) states, colors, AQI range
| State Descriptor | Color (EPA) | AQI range | |
|---|---|---|---|
| Good | Green | 0 - 50 | |
| Moderate | Yellow | 51 - 100 | |
| USG* | Orange | 101 - 150 | |
| Unhealthy | Red | 151 - 200 | |
| Very Unhealthy | Purple | 201 - 300 | |
| Hazardous | Maroon | 301 - 500 | |
| Unknown | White | unknown | |
*USG is “Unhealthy for Sensitive Groups”. State descriptors are editable in the weather.lexicon file.
More information about the Air Quality Index (AQI) can be found on the U.S. Environmental Protection Agency’s website at http://www.airnow.gov/index.cfm?aqbasics.aqi
A WeatherReport’s CurrentConditions component and each of its Forecast components have two related properties: “Ozone” and “Particulate Matter”.