Is this possible? I can use the UniqueValueRenderer with one integer field, but I can't get it to work with two. The renderer really has about 50 values, but I've only included one below so you get the idea:
var fineRenderer = new UniqueValueRenderer(defaultSymbol, "Overstory", "Understory", null, ":");
fineRenderer.addValue(11000:11000, new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([0,0,0]), 1), new Color([217, 0, 0])));
I cannot figure out what I'm doing wrong. I'm specifying null for the third attribute field and then specifying the delimiter. My FeatureLayer has both "Overstory" and "Understory" fields. I don't know what the deal is. Do I need to put quotes around 11000:11000? I don't know if that'd work because the fields are integers, not strings. Do I need to try putting it in brackets like [11000:11000] or something? I'm at a loss here.