Adjusting Y maximum range in pad automatically

The Y axis’ range is always set via SetMaximum and SetMinimum. See: