Roadmap 0.13, Fixes

FX.740 Analytics trend charts leave off empty and part-counted days at the end

  • Fix
  • Built · in the lab

On /admin/analytics each trend chart ended with a dive toward zero. The cause was the day the nightly count runs: it is counted a few hours in (about 04:30 UTC), so its figure is small, not 0. A chart now leaves off the day the figures were counted and any 0 days at the end: the line, the 7-day average, the hover points and the end date label stop at the last full day with a count. The total, the day count and the up/down change still cover the whole period, part day included. 0 days in the middle or at the start stay. The Trends heading says a day still being counted is not drawn. Checked by rendering the component with the real cached 30-day figures (charts end Nov 29, not Nov 30); not looked at in a browser.

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.