AnsweredAssumed Answered

Is there something wrong with the construction of my renderer?

Question asked by john_richardson_1969 on Sep 26, 2018
Latest reply on Sep 26, 2018 by john_richardson_1969

var crimeRenderer = { 
type: "unique-value",
field: "DOW",
defaultSymbol: {type: "simple-fill"},
uniqueValueInfos: [{value: "Monday", symbol: {type: "simple-fill", color: "red"}}, {value: "Tuesday", symbol: {type: "simple-fill", color: "blue"}}, {value: "Wednesday", symbol: {type: "simple-fill", color: "yellow"}},
{value: "Thursday", symbol: {type: "simple-fill", color: "green"}}, {value: "Friday", symbol: {type: "simple-fill", color: "orange"}}, {value: "Saturday", symbol: {type: "simple-fill", color: "brown"}},
{value: "Sunday", symbol: {type: "simple-fill", color: "black"}}, {value: "Friday / Saturday", symbol: {type: "simple-fill", color: "pink"}}, {value: "Monday / Tuesday", symbol: {type: "simple-fill", color: "gray"}},
{value: "Saturday / Sunday", symbol: {type: "simple-fill", color: "cyan"}}, {value: "Sunday / Monday", symbol: {type: "simple-fill", color: "purple"}}, {value: "Thursday / Friday", symbol: {type: "simple-fill", color: "white"}},
{value: "Tuesday / Wednesday", symbol: {type: "simple-fill", color: "fuchsia"}}, {value: "Wednesday / Thursday", symbol: {type: "simple-fill", color: "navy"}}]
};

Outcomes