Returns the color for this data set.
        
        :return     <QColor>

def color(self, key=None):
        """
        Returns the color for this data set.
        
        :return     <QColor>
        """
        if key is not None:
            return self._colorMap.get(nativestring(key), self._color)
        return self._color