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