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

Example

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

Properties

PropertyTypeDefaultDescription
alphaNumber1Opacity of a title.
boldBooleantrueSpecifies if title should be bold or not.
colorColorText color of a title.
idStringUnique id of a Title. You don't need to set it, unless you want to.
sizeNumberText size of a title.
tabIndexNumberIn 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.
textStringText of a title.

Methods

Title class does not have any methods.

Events

Title class does not have any events.