HoverOn

public struct HoverOn : OptionSet, Encodable

Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is toself or tonext and there are no markers or text, then the default is fills, otherwise it is points.

Note

Used by Scatter<XData, YData>.hoverOn, ScatterTernary<AData, BData, CData>.hoverOn, ScatterCarpet<AData, BData>.hoverOn, ScatterPolar<RData, ThetaData>.hoverOn.
  • Declaration

    Swift

    public let rawValue: Int
  • Undocumented

    Declaration

    Swift

    public static var points: HoverOn { get }
  • Undocumented

    Declaration

    Swift

    public static var fills: HoverOn { get }
  • Declaration

    Swift

    public init(rawValue: Int)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws