Prevent unsuitable x-axis selection