style property

HighchartsTitleStyleOptions? style
getter/setter pair

CSS styles for the title. Use this for font styling, but use align, x and y for text alignment.

Note that the default title.minScale option also affects the rendered font size. In order to keep the font size fixed regardless of title length, set minScale to 1.

In styled mode, the title style is given in the .highcharts-title class.

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

Implementation

HighchartsTitleStyleOptions? style;