Skip to main content

BaseTitleSpec

Base settings for a title.

Extended by

Properties

fillRatio?

optional fillRatio: number

If the title is too wide for the chart, this defines the amount of the width of the chart that it should fill, before being wrapped. Ignored if you set titleWrap:false. Defaults to 0.9.


padding?

optional padding: number

How much blank space to leave after the title.


text?

optional text: string

The text to display.


wrap?

optional wrap: boolean

If the title is too wide for the chart, this flag controls whether or not the title is wrapped. It defaults to true.