matomo
matomo copied to clipboard
Evolution chart stops showing timeline when comparing 1 day to previous period/year
What happened?
When selecting 1 day plus "compare to previous period/year" in the date selector, evolution charts show a single day instead of a timeline of days.
What should happen?
Evolution chart date comparison visualisation works as intended for week/month date selection, so you can check that behaviour to see the intended results.
How can this be reproduced?
- Go to a report that has an evolution chart
- Select 1 day in the date selector
- Select "compare to:"
- Select "Previous period", "Previous year", or "custom" with 1 specific day
- Click Apply
- Chart will now show only 2 data points, instead of an evolution chart:
If you replace date selection from 1 day to 1 week or month, you'll see the intended visualisation:
Matomo version
5.1.0
PHP version
No response
Server operating system
No response
What browsers are you seeing the problem on?
No response
Computer operating system
No response
Relevant log output
No response
Validations
- [X] Read our Contributing Guidelines.
- [X] Follow our Security Policy.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating duplicates.
- [X] The provided steps to reproduce is a minimal reproducible of the Bug.