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. Note that this attribute is superseded by node.hoverinfo and node.hoverinfo for nodes and links respectively.

  • Declaration

    Swift

    public let rawValue: Int
  • 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