Delta
public struct Delta : Encodable
Undocumented
-
Sets the reference value to compute the delta.
By default, it is set to the current value.
Declaration
Swift
public var reference: Double? -
Sets the position of delta with respect to the number.
See moreDeclaration
Swift
public enum Position : String, Encodable -
Sets the position of delta with respect to the number.
Declaration
Swift
public var position: Position? -
Show relative change
Declaration
Swift
public var relative: Bool? -
Sets the value formatting rule using d3 formatting mini-language which is similar to those of Python.
See https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format
Declaration
Swift
public var valueFormat: String? -
Undocumented
See moreDeclaration
Swift
public struct Increasing : Encodable -
Undocumented
Declaration
Swift
public var increasing: Increasing? -
Undocumented
See moreDeclaration
Swift
public struct Decreasing : Encodable -
Undocumented
Declaration
Swift
public var decreasing: Decreasing? -
Set the font used to display the delta
Declaration
Swift
public var font: Font? -
Creates
Deltaobject with specified properties.Declaration
Swift
public init(reference: Double? = nil, position: Position? = nil, relative: Bool? = nil, valueFormat: String? = nil, increasing: Increasing? = nil, decreasing: Decreasing? = nil, font: Font? = nil)Parameters
referenceSets the reference value to compute the delta.
positionSets the position of delta with respect to the number.
relativeShow relative change
valueFormatSets the value formatting rule using d3 formatting mini-language which is similar to those of Python.
increasingdecreasingfontSet the font used to display the delta
View on GitHub
Install in Dash
Delta Structure Reference