TreeMapItem.drill

Syntax

drill();

Description

The drill method scrolls tree map to the current item.

Example

To execute this example, the page must contain the TreeMap component named treeMap (see Example of Creating the TreeMap Component). Get the item with the index 3, scroll the chart to this item and refresh the item:

// Get chart item with the index 3
var item = treeMap.getSceneItems()[3];
// Bring scene to the obtained item
item.drill();
// Refresh the item
item.update();

After the example execution the chart is scrolled to the obtained item, and the item is refreshed:

See also:

TreeMapItem