Legend Constructor

Initializes the component. Called during construction.
 

Examples

The following example initializes a new instance of a Legend object:

var newObject = new dundas.view.controls.Legend();