Title
public struct Title : Encodable
Undocumented
-
Sets the title of the chart.
If it is empty, no title is displayed. Note that before the existence of
title.text
, the title’s contents used to be defined as thetitle
attribute itself. This behavior has been deprecated.Declaration
Swift
public var text: String?
-
Sets the font used for
title
.Note that the title’s font used to be set by the now deprecated
titlefont
attribute.Declaration
Swift
public var font: VariableFont?
-
Creates
Title
object with specified properties.Declaration
Swift
public init(text: String? = nil, font: VariableFont? = nil, position: Position? = nil)