update to add min/max for x-axis

added a min/max for the x-axis similar to the min/max for the y-axis