Modify the legend name

With time-series I viewed this link and added the Transformation (Rename fields by regex) like: “https://(.*)” → $1.
I’m not sure either, but with the table, I followed the instructions in this link, using value mapping instead of data transformation