TitleStyleSettingsModel

23 Sep 20251 minute to read

Interface for a class TitleStyleSettings

Properties

color string

Specifies the color of the text.

fontFamily string

Specifies the font family for the text.

fontStyle string

Specifies the style of the text.

fontWeight string

Specifies the font weight of the text.

opacity number

Specifies the opacity level for the text.

position TitlePosition

Defines the position for the chart title and subtitle.
The available options are:

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

size string

Specifies the size of the text.

textAlignment Alignment

Specifies the alignment of the text.

textOverflow TextOverflow

Specifies how the chart title text should handle overflow.

x number

Defines the X coordinate for the accumulation chart title and subtitle.

y number

Defines the Y coordinate for the accumulation chart title and subtitle.