Gauge

public struct Gauge : Encodable

The gauge of the Indicator plot.

  • Set the shape of the gauge

    See more

    Declaration

    Swift

    public enum Shape : String, Encodable
  • Set the shape of the gauge

    Declaration

    Swift

    public var shape: Shape?
  • Bar

    Set the appearance of the gauge’s value

    See more

    Declaration

    Swift

    public struct Bar : Encodable
  • bar

    Set the appearance of the gauge’s value

    Declaration

    Swift

    public var bar: Bar?
  • Sets the gauge background color.

    Declaration

    Swift

    public var backgroundColor: Color?
  • Sets the color of the border enclosing the gauge.

    Declaration

    Swift

    public var borderColor: Color?
  • Sets the width (in px) of the border enclosing the gauge.

    Declaration

    Swift

    public var borderWidth: Double?
  • Undocumented

    See more

    Declaration

    Swift

    public struct Axis : Encodable
  • Undocumented

    Declaration

    Swift

    public var axis: Axis?
  • Undocumented

    See more

    Declaration

    Swift

    public struct Step : Encodable
  • Undocumented

    Declaration

    Swift

    public var steps: [Step]?
  • Undocumented

    See more

    Declaration

    Swift

    public struct Threshold : Encodable
  • Undocumented

    Declaration

    Swift

    public var threshold: Threshold?
  • Creates Gauge object with specified properties.

    Declaration

    Swift

    public init(shape: Shape? = nil, bar: Bar? = nil, backgroundColor: Color? = nil, borderColor:
            Color? = nil, borderWidth: Double? = nil, axis: Axis? = nil, steps: [Step]? = nil, threshold:
            Threshold? = nil)

    Parameters

    shape

    Set the shape of the gauge

    bar

    Set the appearance of the gauge’s value

    backgroundColor

    Sets the gauge background color.

    borderColor

    Sets the color of the border enclosing the gauge.

    borderWidth

    Sets the width (in px) of the border enclosing the gauge.

    axis

    steps

    threshold