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 label: HoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var text: HoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var value: HoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var percent: HoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var name: 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