Hello,
I am attempting to color the 'symbol / icon' on my List to correspond to a specific color, yet the iconColor variable is not accepting the color value of 'icon_color'.
var icon_color = decode($datapoint.projtype,
'Facilities', '#AB6629',
'Maintenance', '#A73599',
'Parks', '#30A625',
'Street Improvements', '#314AA7',
'Traffic Signals', '#813643',
'Transportation', '#728238',
'Other', '#828282', 'white',
);
return {
textColor: '',
//backgroundColor: icon_color,
separatorColor:'',
selectionColor: '',
selectionTextColor: '',
iconColor: icon_color,
//attributes: {
// attribute2: ''
// }
}
