Ok this should be fixed by:
https://github.com/discourse/discourse/commit/87d443f070582351c211efff989adee39449c30c
I also added a test for this, time based tests are kind of complicated on the client side ATM (while being very easy on server side). I gave it a shot to ensure we are not regressing on this again in the future, this test might have erratic behaviour. I will track it in the next days and the next blood moon as it’s usually when time based tests fail…
Thanks for reporting this.
only the counters bug is fixed. The other question about collapsing chart is still being discussed internaly.