Switching evolution chart period might result in unexpected period displayed #18005
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
c: Design / UI
For issues that impact Matomo's user interface or the design overall.
c: Usability
For issues that let users achieve a defined goal more effectively or efficiently.
Milestone
In evolution charts it's possible to select a period the evolution chart should display. This defaults to the period that is currently selected in Matomo.
Switching the selected period in the evolution chart to a higher period works without problems. But switching back to a lower period afterwards results in an unexpected behavior.
Expected Behavior
When switching between the periods in evolution chart the last period being displayed in the evolution chart should always stay the same.
Current Behavior
When switching between the periods the last period being display switches to the last period of the bigger one, chosen before.
e.g. when viewing a week like
2021-08-16 to 2021-08-22
and then switching to year and back to week, the last period visible in the evolution chart will change to2021-12-27 to 2022-01-02
Possible Solution
The last period visible in evolution charts should never be later than the period chosen in the period selector.
Steps to Reproduce (for Bugs)
The text was updated successfully, but these errors were encountered: