Gets Y values of all curve dots to the array.
double& y // array for writing Y values
[out] Array for getting Y values of all curve dots.
Each curve dot is defined by a couple of X and Y values. These values are not coordinates in pixels for drawing in the CGraphic class.