When viewing the chart for Acquisition Overview, for example the text "Search Engines" is translated to "Search%20Engines" in the chart, and the data is not shown.
The chart should show correct labels for the records, and it should actually show the related data.
Records with spaces (%20) in them are not shown in chart, and the label is wrong.
Convert space characters correctly in the chart.
Also, if you manually click on the relevant checkboxes on "Records to plot", it will show them correctly.
Note: I cannot reproduce this bug in the demo, since records with spaces in them (like "Search Engines") is not pre-selected. This bug only seems to occur if they are pre-selected on page load.
It's just bad UX :) to show labels with "%20" in them and no data.
Thanks for spotting this @Krisseck, I can confirm this is an issue when metrics are pre-selected :+1:
The steps I used for recreation were:
This might be a regression from https://github.com/matomo-org/matomo/pull/13935
as it added a url encode to the parameters:
https://github.com/matomo-org/matomo/blob/56efd4c7d06aef3435cf531ab6264529eb7fc9b3/plugins/CoreVisualizations/javascripts/seriesPicker.js#L108-L119
Guess we can't simply remove it again, as it was added for some reason. Guess we might need to decode it somewhere to get that fixed.