CTLineStyle

public protocol CTLineStyle

Protocol to set up the styling for individual lines.

  • Drawing style of the line.

    Declaration

    Swift

    var lineType: LineType { get set }
  • Colour styling of the line.

    Declaration

    Swift

    var lineColour: ColourStyle { get set }
  • Styling for stroke

    Replica of Apple’s StrokeStyle that conforms to Hashable

    Declaration

    Swift

    var strokeStyle: Stroke { get set }
  • Whether the chart should skip data points who’s value is 0.

    This might be useful when showing trends over time but each day does not necessarily have data.

    The default is false.

    Declaration

    Swift

    var ignoreZero: Bool { get set }