Title

Type class

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

Example

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

Inheritance

Title does not extend any other symbol.

Title is not extended by any other symbol.

Properties

alpha
#

Type number

Default 1

Opacity of a title.

bold
#

Type boolean

Default 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.

Adapters

Title does not have any adapters.