code: def datasetItems(self):
          
          out = {}
          for item in self.items():
              if isinstance(item, XChartDatasetItem):
                  out[item.dataset()] = item
          return out
docs: Returns the items in this scene mapped with their dataset instance.
          
          :return     {<XChartDataset>: <QGraphicsItem>, ..}