accumulateTo

abstract fun accumulateTo(series: Int): Point<X, Y>

Computes the stacked value of the point up to and including the series at index series from the y value List and returns it as a Point.