HoverInfo

public struct HoverInfo : OptionSet, Encodable

Determines which trace information appear on hover.

If none or skip are set, no information is displayed upon hovering. But, if none is set, click and hover events are still fired.

  • Declaration

    Swift

    public let rawValue: Int
  • Undocumented

    Declaration

    Swift

    public static var name: HoverInfo { get }
  • x

    Undocumented

    Declaration

    Swift

    public static var x: HoverInfo { get }
  • y

    Undocumented

    Declaration

    Swift

    public static var y: HoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var text: HoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var percentInitial: HoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var percentPrevious: HoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var percentTotal: HoverInfo { get }
  • all

    Undocumented

    Declaration

    Swift

    public static var all: HoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var none: HoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var skip: HoverInfo { get }
  • Declaration

    Swift

    public init(rawValue: Int)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws