SpikeMode

public struct SpikeMode : OptionSet, Encodable

Determines the drawing mode for the spike line If toaxis, the line is drawn from the data point to the axis the series is plotted on.

If across, the line is drawn across the entire plot area, and supercedes toaxis. If marker, then a marker dot is drawn on the axis the series is plotted on

  • Declaration

    Swift

    public let rawValue: Int
  • Undocumented

    Declaration

    Swift

    public static var toAxis: SpikeMode { get }
  • Undocumented

    Declaration

    Swift

    public static var across: SpikeMode { get }
  • Undocumented

    Declaration

    Swift

    public static var marker: SpikeMode { get }
  • Declaration

    Swift

    public init(rawValue: Int)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws