UniformText
public struct UniformText : Encodable
Undocumented
-
Determines how the font size for various text elements are uniformed between each trace type.
If the computed text sizes were smaller than the minimum size defined by
See moreuniformtext.minsize
using hide option hides the text; and using show option shows the text without further downscaling. Please note that if the size defined byminsize
is greater than the font size defined by trace, then theminsize
is used.Declaration
Swift
public enum Mode : Encodable
-
Determines how the font size for various text elements are uniformed between each trace type.
If the computed text sizes were smaller than the minimum size defined by
uniformtext.minsize
using hide option hides the text; and using show option shows the text without further downscaling. Please note that if the size defined byminsize
is greater than the font size defined by trace, then theminsize
is used.Declaration
Swift
public var mode: Mode?
-
Sets the minimum text size between traces of the same type.
Declaration
Swift
public var minSize: Double?
-
Creates
UniformText
object with specified properties.Declaration
Swift
public init(mode: Mode? = nil, minSize: Double? = nil)
Parameters
mode
Determines how the font size for various text elements are uniformed between each trace type.
minSize
Sets the minimum text size between traces of the same type.