Interface: TitleOptions
Alignment of the title.
default
‘center’
Defined in
color
• color:
Color of text
see
Defaults.color
Defined in
• display: boolean
default
false
Defined in
font
• font:
Defined in
• fullSize:
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
padding
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
index.esm.d.ts:2368 (opens new window)
• position: "left"
| "right"
| "bottom"
| "top"
Position of title
default
‘top’
Defined in
index.esm.d.ts:2351 (opens new window)
text
• text: string
| []
Title text to display. If specified as an array, text is rendered on multiple lines.