@Starker3 opened this Issue on November 1st 2022 Contributor

When Selecting a Date Range and comparing that Date Range with another preiod, the Ecommerce Widget sparklines show the incorrect values for the sparkline chart:
image

In the demo the issue is the same, but with the added issue that the sparklines are also flat:
image

To reproduce this:

  1. add the Ecommerce Overview widget to the Dashboard
  2. Select a Date Range and Select "Compare" to previous period
  3. Click on a metric that contains Revenue
    https://demo.matomo.cloud/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday#?period=range&date=2022-10-01,2022-11-01&category=Dashboard_Dashboard&subcategory=1&comparePeriods%5B%5D=range&compareDates%5B%5D=2022-08-30,2022-09-30
@peterhashair commented on November 2nd 2022 Contributor

@Starker3 thank you for reporting this, I can reproduce this on our demo or locally. I believe there is a regression there.

@peterhashair commented on November 2nd 2022 Contributor

It seems like when comparing, the revenue on the dataTable covert to string 'NZ$123' instead of float leading to a graphic loading error.

@sgiehl commented on November 2nd 2022 Member
Powered by GitHub Issue Mirror