#NEWLINE# def __init__( self , chart , **kwargs ) : #NEWLINE# #INDENT# self . chart = chart #NEWLINE# self . canvas = None #NEWLINE# self . x0 = 0 #NEWLINE# self . y0 = 0 #NEWLINE# self . canvasWidth = 0 #NEWLINE# self . canvasHeight = 0 #NEWLINE# self . canvasPanel = AbsolutePanel ( ) #NEWLINE# self . imagePanel = PartitionedAbsolutePanel ( ) #NEWLINE# self . imageIndex = 0 #NEWLINE# self . lastVisibleImage = ( - 1 ) #NEWLINE# AbsolutePanel . __init__ ( self , ** kwargs ) #NEWLINE# GChartUtil . setOverflow ( self . canvasPanel , 'visible' ) #NEWLINE# GChartUtil . setOverflow ( self . imagePanel , 'visible' ) #NEWLINE# self . canvasPanel . setPixelSize ( 0 , 0 ) #NEWLINE# self . imagePanel . setPixelSize ( 0 , 0 ) #NEWLINE# self . add ( self . canvasPanel , 0 , 0 ) #NEWLINE# self . add ( self . imagePanel , 0 , 0 )