Title

To configure the Chart title, use the ChartTitle configuration component.

By default, the Chart displays no title.

The following example demonstrates how to configure the title font and alignment.

Example
View Source
Change Theme:

Title Position

To control the position of the title, use the position property.

The following example demonstrates how to display the title at the bottom of the Chart:

Example
View Source
Change Theme:

Subtitle

The Chart supports configuring an additional subtitle via the ChartSubtitle configuration component.

By default, the subtitle is displayed below the main title.

The following example demonstrates how to configure a subtitle:

Example
View Source
Change Theme:

In this article

Not finding the help you need?