series

Adds a series with the provided x values (x) and y values (y). x and y should have the same size.


fun series(vararg y: Number)

Adds a series with the provided y values (y), using their indices as the x values.