LegendItemSelected: function(sender, args, timeout);
sender. Event source.
args. Event information
timeout. Time delay (milliseconds) after which the event is fired.
The LegendItemSelected event occurs after selecting a legend item
The example of use is given in the page with description of the DataVisualizer.GlobalItemsIds property.