parameters: (self, value)
docstring: Sets the :class:`ProgressPie` maximum value.
  
          :param `value`: a floating point number representing the maximum value.
docstring_summary: Sets the :class:`ProgressPie` maximum value.
docstring_tokens: Sets the : class : ProgressPie maximum value .
function: def SetMaxValue(self, value):
          """
          Sets the :class:`ProgressPie` maximum value.
  
          :param `value`: a floating point number representing the maximum value.
          """
  
          self._maxvalue = value
          self._value = min(self._value, self._maxvalue)
          self._series[0].SetValue(max(self._value, 0.0))
          self._series[1].SetValue(max(self._maxvalue-self._value, 0.0))
          self.Refresh()
function_tokens: def SetMaxValue ( self , value ) : self . _maxvalue = value self . _value = min ( self . _value , self . _maxvalue ) self . _series [ 0 ] . SetValue ( max ( self . _value , 0.0 ) ) self . _series [ 1 ] . SetValue ( max ( self . _maxvalue - self . _value , 0.0 ) ) self . Refresh ( )