Search results

PivotChartAxisFont 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 the color for the text.

Defaults to

fontFamily

string

Allows to set the font family for the text.

fontStyle

string

Allows to set the font style for the text.

Defaults to ‘Normal’

fontWeight

string

Allows to set the font weight for the text.

Defaults to ‘Normal’

opacity

number

Allows to set the opacity for the text.

Defaults to 1

size

string

Allows to set the font size for the text.

Defaults to ‘16px’

textAlignment

Alignment

Allows to set the text alignment

Defaults to ‘Center’

textOverflow

TextOverflow

Allows to set the chart title text overflow

Defaults to ‘Trim’