Simple enough, you just need a quick decode to convert your statuses into colors.
var bg = Decode($datapoint.status,
'submitted', 'red',
'received', 'orange',
'inprogress', 'yellow',
'resolved', 'green',
'')
return {
backgroundColor: bg
}
- Josh Carlson
Kendall County GIS