CTMultiDataSetProtocol
public protocol CTMultiDataSetProtocol : CTDataSetProtocol
Protocol for data sets that require a multiple sets of data .
-
A type representing a single data set –
SingleDataSet
Declaration
Swift
associatedtype DataSet : CTSingleDataSetProtocol
-
Array of single data sets.
Declaration
Swift
var dataSets: [DataSet] { get set }
-
maxValue()
Extension methodUndocumented
Declaration
Swift
public func maxValue() -> Double
-
minValue()
Extension methodUndocumented
Declaration
Swift
public func minValue() -> Double
-
average()
Extension methodUndocumented
Declaration
Swift
public func average() -> Double
-
maxValue()
Extension methodReturns 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 methodUndocumented
Declaration
Swift
public func minValue() -> Double