SmoothDashedLine
public struct SmoothDashedLine : Encodable
Note
Used byHistogram2DContour<XData, YData, ZData>.line, Contour<ZData, XData, YData>.line,
ContourCarpet<ZData, AData, BData>.line.
-
Sets the color of the contour level.
Has no effect if
contours.coloringis set to lines.Declaration
Swift
public var color: Color? -
Sets the contour line width in (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? -
Sets the amount of smoothing for the contour lines, where 0 corresponds to no smoothing.
Declaration
Swift
public var smoothing: Double? -
Creates
SmoothDashedLineobject with specified properties.Declaration
Swift
public init(color: Color? = nil, width: Double? = nil, dash: String? = nil, smoothing: Double? = nil)Parameters
colorSets the color of the contour level.
widthSets the contour line width in (in px)
dashSets the dash style of lines.
smoothingSets the amount of smoothing for the contour lines, where 0 corresponds to no smoothing.
View on GitHub
Install in Dash
SmoothDashedLine Structure Reference