HighchartsTitleOptions class

The chart's main title.

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

Inheritance

Constructors

HighchartsTitleOptions.new({String? align, bool? floating, double? margin, double? minScale, HighchartsTitleStyleOptions? style, String? text, bool? useHTML, String? verticalAlign, double? x, double? y})
The chart's main title.

Properties

align String?
The horizontal alignment of the title. Can be one of "left", "center" and "right".
getter/setter pair
floating bool?
When the title is floating, the plot area will not move to make space for it.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
margin double?
The margin between the title and the plot area, or if a subtitle is present, the margin between the subtitle and the plot area.
getter/setter pair
minScale double?
When the title is too wide to fit in the chart, the default behavior is to scale it down to fit, or apply word wrap if it is scaled down to minScale and still doesn't fit.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style HighchartsTitleStyleOptions?
CSS styles for the title. Use this for font styling, but use align, x and y for text alignment.
getter/setter pair
text String?
The title of the chart. To disable the title, set the text to undefined.
getter/setter pair
useHTML bool?
Whether to use HTML to render the text.
getter/setter pair
verticalAlign String?
The vertical alignment of the title. Can be one of "top", "middle" and "bottom". When a value is given, the title behaves as if floating were true.
getter/setter pair
x double?
The x position of the title relative to the alignment within chart.spacingLeft and chart.spacingRight.
getter/setter pair
y double?
The y position of the title relative to the alignment within chart.spacingTop and chart.spacingBottom. By default it depends on the font size.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() String
Serializes the settings to a JSON string.
inherited
toOptionsJSON(StringBuffer buffer) → void
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited