Search results

Font API in JavaScript TreeMap API control

Sets and gets the options to customize the style of the text contents in the treemap component.

Properties

color

string

Sets and gets the color for the text in the treemap component.

Defaults to null

fontFamily

string

Sets and gets the font family for the text in the treemap component.

Defaults to

fontStyle

string

Sets and gets the font style for the text in the treemap component.

Defaults to ‘Normal’

fontWeight

string

Sets and gets the font weight for the text in the treemap component.

Defaults to ‘Normal’

opacity

number

Sets and gets the opacity of the text in the treemap component.

Defaults to 1

size

string

Sets and gets the size for the text in the treemap component.

Defaults to null