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 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 by minsize is greater than the font size defined by trace, then the minsize is used.

    See more

    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 by minsize is greater than the font size defined by trace, then the minsize 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.