Auto refresh chart on page comes to active only if date display range is not in the past