fix reset bug in time-series graph