CTMultiDataSetProtocol

public protocol CTMultiDataSetProtocol : CTDataSetProtocol

Protocol for data sets that require a multiple sets of data .

Available where Self.DataSet.DataPoint: CTStandardDataPointProtocol

  • maxValue() Extension method

    Undocumented

    Declaration

    Swift

    public func maxValue() -> Double
  • minValue() Extension method

    Undocumented

    Declaration

    Swift

    public func minValue() -> Double
  • average() Extension method

    Undocumented

    Declaration

    Swift

    public func average() -> Double

Available where Self == StackedBarDataSets

  • maxValue() Extension method

    Returns the highest sum value in the data sets

    Note

    This differs from other charts, as Stacked Bar Charts need to consider the sum value for each data set, instead of the max value of a data point.

    Declaration

    Swift

    public func maxValue() -> Double

    Return Value

    Highest sum value in data sets.

Available where Self.DataSet: CTLineChartDataSet, Self.DataSet.DataPoint: CTStandardDataPointProtocol

  • minValue() Extension method

    Undocumented

    Declaration

    Swift

    public func minValue() -> Double