matomo icon indicating copy to clipboard operation
matomo copied to clipboard

Evolution chart stops showing timeline when comparing 1 day to previous period/year

Open Stan-vw opened this issue 1 year ago • 0 comments

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?

  1. Go to a report that has an evolution chart
  2. Select 1 day in the date selector
  3. Select "compare to:"
  4. Select "Previous period", "Previous year", or "custom" with 1 specific day
  5. Click Apply
  6. Chart will now show only 2 data points, instead of an evolution chart:

Screen Shot 2024-05-15 at 9 36 57 AM

If you replace date selection from 1 day to 1 week or month, you'll see the intended visualisation: Screen Shot 2024-05-15 at 9 37 45 AM

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

Stan-vw avatar May 14 '24 21:05 Stan-vw