#NEWLINE# def render( self ) : #NEWLINE# #INDENT# result = super ( OutputStackedAreaChart , self ) . render ( ) #NEWLINE# if ( result [ 'data' ] and ( len ( result [ 'data' ] [ 0 ] [ 1 ] ) == 1 ) ) : #NEWLINE# #INDENT# rows = [ [ v [ 0 ] , v [ 1 ] [ 0 ] [ 1 ] ] for v in result [ 'data' ] ] #NEWLINE# result . update ( { #NEWLINE# #INDENT# 'widget' : 'Table' , #NEWLINE# 'data' : { #NEWLINE# #INDENT# 'cols' : [ 'Name' , ( self . label or 'Value' ) ] , #NEWLINE# 'rows' : rows , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# return result