added x and y axis ranges