PlotSeries

a series of a Plot: the last capacity values that were added, in color

Properties

Link copied to clipboard
Link copied to clipboard
var color: ColorRGBa
Link copied to clipboard
Link copied to clipboard
var size: Int

the number of values

Functions

Link copied to clipboard
fun add(value: Double)

adds value, the oldest value goes when there are capacity values

Link copied to clipboard
fun clear()
Link copied to clipboard
operator fun get(i: Int): Double

the value i from the oldest