The following example initializes a new instance of a LegendInfo object:
var newObject = new dundas.view.controls.LegendInfo();