Set the axis relative to the chart dimensions