CTMultiBarChartDataSet

public protocol CTMultiBarChartDataSet : CTSingleDataSetProtocol

A protocol to extend functionality of CTSingleDataSetProtocol specifically for Multi Part Bar Charts.

  • Title of the data set.

    This is used as an x axis label.

    Declaration

    Swift

    var setTitle: String { get set }

Available where Self == StackedBarDataSet

  • maxValue() Extension method

    Returns the highest sum value in the data set.

    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 set.