Only do the slope calculations if the field is being shown