CTRangeDataPointProtocol

public protocol CTRangeDataPointProtocol : CTDataPointBaseProtocol

A protocol to extend functionality of CTDataPointBaseProtocol for any chart type that needs a upper and lower values.

  • Value of the upper range of the data point.

    Declaration

    Swift

    var upperValue: Double { get set }
  • Value of the lower range of the data point.

    Declaration

    Swift

    var lowerValue: Double { get set }

Available where Self == RangedBarDataPoint

  • Data point’s value as a string

    Declaration

    Swift

    public func valueAsString(specifier: String, formatter: NumberFormatter?) -> String