CTStandardDataPointProtocol

public protocol CTStandardDataPointProtocol : CTDataPointBaseProtocol

A protocol to extend functionality of CTDataPointBaseProtocol for any chart type that needs a value.

  • Value of the data point

    Declaration

    Swift

    var value: Double { get set }

Available where Self: CTBarDataPointBaseProtocol

  • Data point’s value as a string

    Declaration

    Swift

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

Available where Self: CTLineDataPointProtocol & IgnoreMe

  • Data point’s value as a string

    Declaration

    Swift

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

Available where Self: CTPieDataPoint

  • Data point’s value as a string

    Declaration

    Swift

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