Search results

Font API in React Stock Chart API component

The Font class provides configuration options for customizing the fonts used in the charts.

Properties

color

string

Specifies the color of the text.

Defaults to

fontFamily

string

Specifies the font family for the text.

fontStyle

string

Specifies the style of the text.

Defaults to ‘Normal’

fontWeight

string

Specifies the font weight of the text.

Defaults to ‘Normal’

opacity

number

Specifies the opacity level for the text.

Defaults to 1

size

string

Specifies the size of the text.

Defaults to ‘16px’

textAlignment

Alignment

Specifies the alignment of the text.

Defaults to ‘Center’

textOverflow

TextOverflow

Specifies how the chart title text should handle overflow.

Defaults to ‘Wrap’