ShapedSmoothDashedLine
public struct ShapedSmoothDashedLine : Encodable
Note
Used byScatterTernary<AData, BData, CData>.line, ScatterCarpet<AData, BData>.line,
ScatterPolar<RData, ThetaData>.line.
-
Sets the line color.
Declaration
Swift
public var color: Color? -
Sets the line width (in px).
Declaration
Swift
public var width: Double? -
Sets the dash style of lines.
Set to a dash type string (solid, dot, dash, longdash, dashdot, or longdashdot) or a dash length list in px (eg 5px,10px,2px,2px).
Declaration
Swift
public var dash: String? -
Determines the line shape.
With spline the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes.
Declaration
Swift
public var shape: Shape? -
Has an effect only if
shapeis set to spline Sets the amount of smoothing.0 corresponds to no smoothing (equivalent to a linear shape).
Declaration
Swift
public var smoothing: Double? -
Creates
ShapedSmoothDashedLineobject with specified properties.Declaration
Parameters
colorSets the line color.
widthSets the line width (in px).
dashSets the dash style of lines.
shapeDetermines the line shape.
smoothingHas an effect only if
shapeis set to spline Sets the amount of smoothing.
View on GitHub
Install in Dash
ShapedSmoothDashedLine Structure Reference