changed x axis to y axis