Search results

TitleSettingsModel API in React Chart API component

Interface for a class titleSettings

Properties

background

string

Background of the title border.

border

titleBorderModel

Options to customize the border of the chart title.

color

string

Color for the text.

fontFamily

string

FontFamily for the text.

fontStyle

string

FontStyle for the text.

fontWeight

string

FontWeight for the text.

opacity

number

Opacity for the text.

position

TitlePosition

Defines the position for the chart title.

  • Top: Displays the title at the top of the chart.
  • Left: Displays the title at the left of the chart.
  • Bottom: Displays the title at the bottom of the chart.
  • Right: Displays the title at the right of the chart.
  • Custom: Displays the title based on the given x and y values.

size

string

Font size for the text.

textAlignment

Alignment

text alignment.

textOverflow

TextOverflow

Specifies the chart title text overflow.

x

number

Defines the X coordinate for the chart title.

y

number

Defines the Y coordinate for the chart title.