TreeMapItem.appear

Syntax

appear();

Description

The appear method shows hidden tree map item.

Example

To execute this example, the page must contain the TreeMap component named treeMap (see Example of Creating the TreeMap Component). Hide a chart item:

// Get chart item with the index 3
var item = treeMap.getSceneItems()[3];
// Hide the item
item.disappear();
// Redraw the item
item.draw()

As the result the chart item is hidden:

Show the hidden item:

// Display item
item.appear();
// Rerender item
item.draw();

As the result the hidden chart item is shown:

See also:

TreeMapItem