All docs
V19.1
24.2
The page you are viewing does not exist in version 24.2.
24.1
The page you are viewing does not exist in version 24.1.
23.2
The page you are viewing does not exist in version 23.2.
23.1
The page you are viewing does not exist in version 23.1.
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
19.1
18.2
18.1
17.2
Vue
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery TreeMap - tile.selectionStyle

Specifies the appearance of tiles in the selected state.

Type:

Object

When the user selects a tile, this element responds by changing its style. Using the fields of the selectionStyle object, you can specify the color of tiles and appearance of tile borders in the selected state.

To learn how to implement the selection feature and get familiar with available selection modes, refer to the selectionMode option description.

border

Configures the appearance of the tile borders in the selected state.

Type:

Object

color

Colors tiles in the selected state.

Type:

String

Default Value: undefined

This option supports the following colors: