Sets the color used when rendering pie charts.
        
        :param      key   | <str>
                    color | <QColor>

def setKeyColor( self, key, color ):
        """
        Sets the color used when rendering pie charts.
        
        :param      key   | <str>
                    color | <QColor>
        """
        self._keyColors[nativestring(key)] = QColor(color)