def assignRenderer(self, action):
        """
        Assigns the renderer for this chart to the current selected
        renderer.
        """
        name = nativestring(action.text()).split(' ')[0]
        self._renderer = XChartRenderer.plugin(name)
        self.uiTypeBTN.setDefaultAction(action)
        self.recalculate()