show range in view