Fixed issue when only tow labels are displayed on xAxis

The last label wasn't displayed at the right position when only two
labels were displayed and the Yaxis was enabled.