Mode
public struct Mode : OptionSet, Encodable
Determines how the value is displayed on the graph.
number
displays the value numerically in text. delta
displays the difference to a reference
value in text. Finally, gauge
displays the value graphically on an axis.
-
Declaration
Swift
public let rawValue: Int
-
Undocumented
Declaration
Swift
public static var number: Mode { get }
-
Undocumented
Declaration
Swift
public static var delta: Mode { get }
-
Undocumented
Declaration
Swift
public static var gauge: Mode { get }
-
Declaration
Swift
public init(rawValue: Int)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws