Line
public struct Line : Encodable
Note
Used byBox<YData, XData, QData>.line, Violin<YData, XData>.line, Violin<YData,
XData>.Box.line, Waterfall<XData, YData>.Increasing.Marker.line, Waterfall<XData,
YData>.Decreasing.Marker.line, Waterfall<XData, YData>.Totals.Marker.line,
ScatterMapbox<CoordinateData>.line, Indicator.Gauge.Bar.line, Indicator.Gauge.Step.line,
Indicator.Gauge.Threshold.line.
-
Sets the color of line bounding the box(es).
Declaration
Swift
public var color: Color? -
Sets the width (in px) of line bounding the box(es).
Declaration
Swift
public var width: Double? -
Creates
Lineobject with specified properties.Declaration
Swift
public init(color: Color? = nil, width: Double? = nil)Parameters
colorSets the color of line bounding the box(es).
widthSets the width (in px) of line bounding the box(es).
View on GitHub
Install in Dash
Line Structure Reference