clearInstance();
The clearInstance method removes tree map from container.
Executing the example requires that the HTML page contains the TreeMapBox component named treeMapBox (see Example of Creating the TreeMapBox Component). Remove tree map from the container:
treeMapBox.clearInstance();
After executing the example all contents of the tree map container are removed.
See also: