refactor x and y value properties into axis objects