docs: def setRenderer(self, renderer):
          """
          Sets the current renderer associated with this plot.
          
          :param      renderer | <XChartRenderer> || <str>
          
          :return     <bool> | success
          """
          if not isinstance(renderer, XChartRenderer):
              renderer = XChartRenderer.plugin(nativestring(renderer))
          
          if renderer is None:
              return False
          
          self._renderer = renderer
          
          for act in self.uiTypeBTN.actions():
              if act.text() == '%s Chart' % renderer.name():
                  self.uiTypeBTN.setDefaultAction(act)
                  break
          
          return True