The suggested solution doesn’t meet my requirement because actually I want to scale the auto interval. The suggested solution would require changing the interval every time the selected time range changes.
Actually since I’d forgotten this I posted a new question: