Bar

public struct Bar : Encodable

Set the appearance of the gauge’s value

  • Sets the background color of the arc.

    Declaration

    Swift

    public var color: Color?
  • Undocumented

    Declaration

    Swift

    public var line: Line?
  • Sets the thickness of the bar as a fraction of the total thickness of the gauge.

    Declaration

    Swift

    public var thickness: Double?
  • Creates Bar object with specified properties.

    Declaration

    Swift

    public init(color: Color? = nil, line: Line? = nil, thickness: Double? = nil)

    Parameters

    color

    Sets the background color of the arc.

    line

    thickness

    Sets the thickness of the bar as a fraction of the total thickness of the gauge.