Skip to content

Title

Type class

Creates a title on above the chart, multiple can be assigned.

Example

```js var chart = AmCharts.makeChart("chartdiv",{ ... "titles": [ { "text": "Chart Title", "size": 15 } ] });```

Sources

This information about Title is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

Title does not extend any other symbol.

Title is not extended by any other symbol.

Properties

alpha

Type numberDefault 1

Opacity of a title.

bold

Type booleanDefault true

Specifies if title should be bold or not.

color

Type color

Text color of a title.

id

Type string

Unique id of a Title. You don't need to set it, unless you want to.

size

Type number

Text size of a title.

tabIndex

Type number

In case you set it to some number, the chart will set focus on the title when user clicks tab key. When a focus is set, screen readers like NVDA Screen reader will read the title. Note, not all browsers and readers support this.

text

Type string

Text of a title.

Methods

Title does not have any methods.

Events

Title does not have any events.