Calculates the range of values for this axis based on the dataset
        value amount.
        
        :param      values | [<variant>, ..]

def calculateRange(self, values):
        """
        Calculates the range of values for this axis based on the dataset
        value amount.
        
        :param      values | [<variant>, ..]
        """
        self.reset()
        self._values = list(set(values))
        self._values.sort(key=lambda x: values.index(x))