CTPieDataPoint

public protocol CTPieDataPoint : CTStandardDataPointProtocol, CTnotRanged

A protocol to extend functionality of CTStandardDataPointProtocol specifically for Pie and Doughnut Charts.

  • Colour of the segment

    Declaration

    Swift

    var colour: Color { get set }
  • Where the data point should start drawing from based on where the prvious one finished.

    In radians.

    Declaration

    Swift

    var startAngle: Double { get set }
  • The data points value in radians.

    Declaration

    Swift

    var amount: Double { get set }
  • Option to add overlays on top of the segment.

    Declaration

    Swift

    var label: OverlayType { get set }