code: def setColor(self, color, key=None):
          
          self._color = QColor(color)
          if key is not None:
              self._colorMap[nativestring(key)] = self._color
docs: Sets the color for this data set.
          
          :param      color | <QColor>