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