Hello,
Is it possible to use an Arcade expression to define the background color of a label based on a variable value in an AGOL web map? For example, I have a feature with a "Year" variable equal to 2020, 2021, 2022, etc. I want the background color of the label to be defined by the "Year" value. (If "Year" = 2020, back ground color = #006fde, else...)
I've messed aroung with some Arcade but haven't gotten anything to work. Just wanting to know if it's possible before I spend more time on it.
Thanks,
Chris