# Interface: TitleOptions

# Properties

# align

align: Align

Alignment of the title.

Default

'center'

# Defined in

types/index.d.ts:2517


# color

color: Color

Color of text

See

Defaults.color

# Defined in

types/index.d.ts:2532


# display

display: boolean

Is the title shown?

Default

false

# Defined in

types/index.d.ts:2522


# font

font: ScriptableAndScriptableOptions<Partial<FontSpec>, ScriptableChartContext>

# Defined in

types/index.d.ts:2533


# fullSize

fullSize: boolean

Marks that this box should take the full width/height of the canvas (moving other boxes). If set to false, places the box above/beside the chart area

Default

true

# Defined in

types/index.d.ts:2540


# padding

padding: number | { bottom: number ; top: number }

Adds padding above and below the title text if a single number is specified. It is also possible to change top and bottom padding separately.

# Defined in

types/index.d.ts:2544


# position

position: "left" | "top" | "bottom" | "right"

Position of title

Default

'top'

# Defined in

types/index.d.ts:2527


# text

text: string | string[]

Title text to display. If specified as an array, text is rendered on multiple lines.

# Defined in

types/index.d.ts:2548