#NEWLINE# def __onNewValue2( self , dataSeries , dateTime , value ) : #NEWLINE# #INDENT# pos1 = self . __findPosForDateTime ( self . __values1 , dateTime ) #NEWLINE# if ( pos1 is not None ) : #NEWLINE# #INDENT# self . __append ( dateTime , self . __values1 [ pos1 ] [ 1 ] , value ) #NEWLINE# self . __values1 = self . __values1 [ ( pos1 + 1 ) : ] #NEWLINE# self . __values2 = [ ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . __values2 . append ( ( dateTime , value ) )