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.
When switching between the periods in evolution chart the last period being displayed in the evolution chart should always stay the same.
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 to
2021-12-27 to 2022-01-02
The last period visible in evolution charts should never be later than the period chosen in the period selector.