@mattab opened this Issue on January 17th 2022 Member

Expected Behavior

Evolution graphs across Matomo should show the correct data and not show wrong information.
(And the last graph section should be dotted if the selected period includes the current unfinished period)

Current Behavior

Graph shows 0 values for periods in the future (the graph is too much in the future)

Possible Solution

Steps to Reproduce (for Bugs)

  1. go to https://demo.matomo.cloud/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday#?idSite=1&period=year&date=2022-01-16&segment=&category=Goals_Goals&subcategory=General_Overview (which is in Goals > Overview with the year selected)
  2. Click "Change period"
  3. Select "Month" period (instead of the current "Year")
  4. the graph shows 12 months in the future with zero values:

Screenshot from 2022-01-17 14-10-10

Note: a similar problem occur if you're looking at a "Month" and change period to a Week. (it then shows a few weeks in the future)

Context

just using a core UI feature to get some insights

@sgiehl commented on January 17th 2022 Member

@mattab What exactly would you expect? Shall we hide all periods that are in the future, or shall we still show them, but everything in the future would be dotted?

@mattab commented on January 18th 2022 Member

@sgiehl :+1: hide all periods in the future (because they are always zero-values)
(and when the current unfinished period is the selected one, then it's also shown as dotted in the graph)

Powered by GitHub Issue Mirror