PolarHoverInfo

public struct PolarHoverInfo : 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

Used by ScatterPolar<RData, ThetaData>.hoverInfo, ScatterPolarGL<RData, ThetaData>.hoverInfo, BarPolar<RData, ThetaData>.hoverInfo.
  • Declaration

    Swift

    public let rawValue: Int
  • r

    Undocumented

    Declaration

    Swift

    public static var r: PolarHoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var theta: PolarHoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var text: PolarHoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var name: PolarHoverInfo { get }
  • all

    Undocumented

    Declaration

    Swift

    public static var all: PolarHoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var none: PolarHoverInfo { get }
  • Undocumented

    Declaration

    Swift

    public static var skip: PolarHoverInfo { get }
  • Declaration

    Swift

    public init(rawValue: Int)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws