AnsweredAssumed Answered

Change legend name/title of layer in ArcGISDynamicMapServiceLayer

Question asked by GareySmiley on Aug 7, 2017
Latest reply on Aug 7, 2017 by GareySmiley

I have a ArcGISDynamicMapServiceLayer layer that has a layer within it I am applying a createClassedColorRenderer to which is working great. I want to change the name/title that appears in the legend after I apply the renderer. So by default it appears as "State" as is defined in the MDX. I want to change it to something like "State by Market Share" after I apply the renderer. I can find examples of doing this to a feature layer, but not a layer within a ArcGISDynamicMapServiceLayer. Any hints would be appreciated. 

Outcomes