#NEWLINE# def getAnnotationRenderingPanel( self , rpIndex ) : #NEWLINE# #INDENT# if ( 0 == self . annotationPanel . getWidgetCount ( ) ) : #NEWLINE# #INDENT# for i in range ( ( N_PRE_SYSTEM_CURVES - 1 ) , len ( self . chart . curves ) ) : #NEWLINE# #INDENT# rpInd = self . chart . getRenderingPanelIndex ( i ) #NEWLINE# self . addAnnotationRenderingPanel ( rpInd ) #NEWLINE# #UNINDENT# #UNINDENT# return self . annotationPanel . getWidget ( rpIndex )