I have custom renderer widget (Refer screen shot below) , onclick of execute chain snatching of the state "XXXXXX" will be displayed on the Map.
And the legend will look like below screen shot .
I want to customize the existing legend widget to include three attributes from the first screen shot . Output of the final legend widget will be
My question is how to get Renderer dropdown value into Legend widget. If you could give some sample code it will be better and helpful.