Thank you Dominique, this example is very nice and useful. I have a little problem displaying the InfoWindow/ToolTip which displays the Legend. Sometimes other pie chart graphics are displayed on the top of the legend and they obscure a part of the legend. Attached is a screen shot which demonstrates the problem? Is there any solution for this problem? Thank you, Ronit
The legend is a part of the symbol and is displayed by using the VisualState 'MouseOver' of the symbol. The legend Z order is related to the symbol Z order, and so can be hidden by others symbols.
The solution might be to tweak the sample to display the legend in maptips which are always on top.