In admin graphs, days with 0 activity are excluded from the x-axis

We’ve had closed membership for a while, and are now slowly opening it up. I’ve noticed that on the admin graphs, the x-axis skips over days with 0 relevant activity:

This is maybe a little misleading for a (continuous) line graph. There are two “correct” solutions to this, in my opinion:

  • Ensure that all dates are included in the x-axis, even with no data; or
  • Change to a bar graph, which shows discrete, rather than continuous, data.
4 Likes

Similar to this issue:

5 Likes

Did your recent axis related change fix this @techapj?

2 Likes

Yes, this is now fixed. x-axis now includes dates with zero value.

https://github.com/discourse/discourse/commit/b7ba490df7e596d5d9f291b47a179606168e3b06

6 Likes