code: def mousePressEvent(self, event):
          
          ddata = self.dataset().dragData()
          if ddata:
              self.startDrag(ddata)
          
          super(XChartDatasetItem, self).mousePressEvent(event)
docs: Creates the drag event for this item.
          
          :param      event | <QMousePressEvent>