TreeMapItem.setTargetColor

Syntax

setTargetColor(color: PP.SolidColorBrush || String, inactiveOpacity: Number);

Parameters

color. Color set for the specified tree map item.

inactiveOpacity. Opacity of tree map inactive item. Parameter values range between 0 and 1.

Description

The setTargetColor method specifies fill color and opacity for specified tree map item.

Example

The example of use is given in the page with description of the TreeMap.hoverItems method.

TreeMapItem