Search results

Font API in React TreeMap API component

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

Properties

color

string

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

Defaults to null

fontFamily

string

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

Defaults to

fontStyle

string

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

Defaults to ‘Normal’

fontWeight

string

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

Defaults to null

opacity

number

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

Defaults to 1

size

string

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

Defaults to null