Sets the dataset list for this chart to the inputed data.
        
        :param      datasets | [<XChartDataset>, ..]

def setDatasets(self, datasets):
        """
        Sets the dataset list for this chart to the inputed data.
        
        :param      datasets | [<XChartDataset>, ..]
        """
        self.clearDatasets()
        self._datasets = datasets
        
        for dataset in datasets:
            self._addDatasetAction(dataset)
        
        self._dataChanged = True
        self.recalculate()