React LinearGauge - tooltip.font

Specifies tooltips' font options.

Type:

Object

color

Specifies tooltips' font color.

Type:

String

Default Value: '#232323'

This option supports the following colors:

family

Specifies tooltips' font family.

Type:

String

Default Value: '"Segoe UI", "Helvetica Neue", "Trebuchet MS", Verdana, sans-serif'

Refer to the Font family article for details on acceptable values.

opacity

Specifies the transparency of the tooltips' text.

Type:

Number

Default Value: undefined

This option accepts a value from 0 to 1, where 0 makes the text completely transparent, and 1 makes it opaque.

size

Specifies tooltips' font size.

Type:

Number

|

String

Default Value: 12

A numeric value specifies the font size in pixels. A string value can specify the font size in any units listed here, but multi-line text only supports length units.

weight

Specifies tooltips' font weight. Accepts values from 100 to 900 in increments of 100. Higher values increase boldness.

Type:

Number

Default Value: 400