Adds a series with the provided x values (x) and y values (y). x and y should have the same size.
Adds a series with the provided y values (y), using their indices as the x values.