placed y-axis values on the right side of the graph