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
lineColourColour styling of the line.
lineTypeDrawing style of the line
strokeStyleStroke Style
ignoreZeroWhether the chart should skip data points who’s value is 0.