TreeMapItem.drawTopHeader

Syntax

drawTopHeader();

Description

The drawTopHeader method draws branch header on top of already drawn items.

Example

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

// Get chart item with the index 3
var item = treeMap.getSceneItems()[3];
//Check if header is drawn on top of other items. if it is not, draw it on top of other items.
if (item.isHeaderAtTop) item.drawTopHeader();

After the example execution the branch header is drawn on top of other items.

See also:

TreeMapItem