Gauge
public struct Gauge : Encodable
The gauge of the Indicator plot.
-
Set the shape of the gauge
See moreDeclaration
Swift
public enum Shape : String, Encodable -
Set the shape of the gauge
Declaration
Swift
public var shape: Shape? -
Set the appearance of the gauge’s value
See moreDeclaration
Swift
public struct Bar : Encodable -
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 moreDeclaration
Swift
public struct Axis : Encodable -
Undocumented
Declaration
Swift
public var axis: Axis? -
Undocumented
See moreDeclaration
Swift
public struct Step : Encodable -
Undocumented
Declaration
Swift
public var steps: [Step]? -
Undocumented
See moreDeclaration
Swift
public struct Threshold : Encodable -
Undocumented
Declaration
Swift
public var threshold: Threshold? -
Creates
Gaugeobject with specified properties.Declaration
Parameters
shapeSet the shape of the gauge
barSet the appearance of the gauge’s value
backgroundColorSets the gauge background color.
borderColorSets the color of the border enclosing the gauge.
borderWidthSets the width (in px) of the border enclosing the gauge.
axisstepsthreshold
View on GitHub
Install in Dash
Gauge Structure Reference