I'm trying to change the color of a feature using some Arcade logic. I'm not sure what property to set the value against though. Here's the Arcade Code:
var color = When( $feature.duedate > Now(), "#1550f5",
$feature.duedate < Now() && $feature["device_las"]=="Failed","#f7332a",
$feature.duedate < Now(), "#020202",
$feature.Device_Status == "Inactive", "#fcf132", "#bdbabf" )
I know I can set the color of text and selections using the following:
return {
textColor: color,
backgroundColor: '',
separatorColor: '',
selectionColor: '',
selectionTextColor: '',
}but I can't figure out what property to use to change the color of feature itself. I wouldn't be surprised if this is a very easy answer.