LineStyle
public struct LineStyle : CTLineStyle, Hashable
Model for controlling the styling for individual lines.
-
Declaration
Swift
public var lineColour: ColourStyle
-
Declaration
Swift
public var lineType: LineType
-
Declaration
Swift
public var strokeStyle: Stroke
-
Declaration
Swift
public var ignoreZero: Bool
-
Style of the line.
Declaration
Swift
public init( lineColour: ColourStyle = ColourStyle(colour: .red), lineType: LineType = .curvedLine, strokeStyle: Stroke = Stroke(), ignoreZero: Bool = false )
Parameters
lineColour
Colour styling of the line.
lineType
Drawing style of the line
strokeStyle
Stroke Style
ignoreZero
Whether the chart should skip data points who’s value is 0.