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.minsizeusing hide option hides the text; and using show option shows the text without further downscaling. Please note that if the size defined byminsizeis greater than the font size defined by trace, then theminsizeis 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.minsizeusing hide option hides the text; and using show option shows the text without further downscaling. Please note that if the size defined byminsizeis greater than the font size defined by trace, then theminsizeis 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
UniformTextobject with specified properties.Declaration
Swift
public init(mode: Mode? = nil, minSize: Double? = nil)Parameters
modeDetermines how the font size for various text elements are uniformed between each trace type.
minSizeSets the minimum text size between traces of the same type.
View on GitHub
Install in Dash
UniformText Structure Reference