In my legend I have some 'no data' values from my classification and they appear in my legend as 'others'. Is there a way I can change this to say something else?
Solved! Go to Solution.
Tracy,
Yes you can modify the text for others in the legend. To do this you'll need to modify the renderer's defaultLabel before applying the renderer to the layer.
renderer.defaultLabel = "Not Classified"
featureLayer.setRenderer(renderer);
Tracy,
Yes you can modify the text for others in the legend. To do this you'll need to modify the renderer's defaultLabel before applying the renderer to the layer.
renderer.defaultLabel = "Not Classified"
featureLayer.setRenderer(renderer);
That was it. I was trying to find it within the legend reference. It didn't occur to me to look at the renderer.