Scripting on the Chart Range Selector

I have a Chart Range Selector that polls every 5 seconds to get new data and to move the selection window to the newest time. However, I only want it to do that if the user has not moved the brush to a different time. I was going to set up some logic for this in scripting, but I don’t see an event for when the brush start and end times are changed. I tried using OnClick, but it doesn’t seem to work consistently. Is there a way to do this?

Upon further testing, using OnClick does seem to work.