ColorPalette
Determines the color palette used for the data provided by the "Universal Air Quality Index" (UAQI). This color palette is relevant just for UAQI, other AQIs have a predetermined color palette that can't be controlled.
Enums |
COLOR_PALETTE_UNSPECIFIED |
The default value. Ignored if passed as a parameter. |
RED_GREEN |
Determines whether to use a red/green palette. |
INDIGO_PERSIAN_DARK |
Determines whether to use a indigo/persian palette (dark theme). |
INDIGO_PERSIAN_LIGHT |
Determines whether to use a indigo/persian palette (light theme). |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-28 UTC.
[null,null,["Last updated 2024-08-28 UTC."],[[["Defines the color scheme applied to data from the \"Universal Air Quality Index\" (UAQI)."],["Offers a choice between a red/green palette or two indigo/persian palettes (one for dark themes and one for light themes)."],["This color palette selection only affects UAQI data visualization and does not apply to other AQIs, which use their own predetermined color palettes."]]],[]]