set

fun set(pair: Pair<Int, List<List<ChartEntry>>>)

Replaces the data set at the specified index (Pair.first) with the provided data set (Pair.second).


fun set(index: Int, dataSet: List<List<ChartEntry>>)

Replaces the data set at the specified index with the provided data set.