Automatically set domain of axes scales.