Search results

Font API in React Pivot Table API component

Allows to customize the appearance of the text in the chart such as font style, font size, font weight, font color, font family, text alignment, opacity, text overflow.

Properties

color

string

Allows to set color to the text in the chart.

Defaults to

fontFamily

string

Allows to set font family to the text in the chart.

Defaults to ‘Segoe UI’

fontStyle

string

Allows to set the font style to the text in the chart.

Defaults to ‘Normal’

fontWeight

string

Allows to set the font weight to the text in the chart.

Defaults to ‘Normal’

opacity

number

Allows to set opacity to the text in the chart.

Defaults to 1

size

string

Allows to set the font size to the text in the chart.

Defaults to ‘16px’

textAlignment

Alignment

Allows to set text alignment in the chart

Defaults to ‘Center’

textOverflow

TextOverflow

Allows to specify the chart title text overflow

Defaults to ‘Trim’