align property

String? align
getter/setter pair

The horizontal alignment of the title. Can be one of "left", "center" and "right".

Since v12 it defaults to undefined, meaning the alignment is computed for best fit. If the text fits in one line, it aligned to the center, but if it is wrapped into multiple lines, it is aligned to the left.

API Docs: https://api.highcharts.com/highcharts/title.align

Implementation

String? align;