code: def alias(requestContext, seriesList, newName):
      
      try:
          seriesList.name = newName
      except AttributeError:
          for series in seriesList:
              series.name = newName
      return seriesList
docs: Takes one metric or a wildcard seriesList and a string in quotes.
      Prints the string instead of the metric name in the legend.
  
      Example::
  
          &target=alias(Sales.widgets.largeBlue,"Large Blue Widgets")