#NEWLINE# def _write_bar_chart( self , args ) : #NEWLINE# #INDENT# if args [ 'primary_axes' ] : #NEWLINE# #INDENT# series = self . _get_primary_axes_series ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# series = self . _get_secondary_axes_series ( ) #NEWLINE# #UNINDENT# if ( not len ( series ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# subtype = self . subtype #NEWLINE# if ( subtype == 'percent_stacked' ) : #NEWLINE# #INDENT# subtype = 'percentStacked' #NEWLINE# #UNINDENT# if ( 'stacked' in self . subtype ) : #NEWLINE# #INDENT# if ( self . series_overlap_1 is None ) : #NEWLINE# #INDENT# self . series_overlap_1 = 100 #NEWLINE# #UNINDENT# #UNINDENT# self . _xml_start_tag ( 'c:barChart' ) #NEWLINE# self . _write_bar_dir ( ) #NEWLINE# self . _write_grouping ( subtype ) #NEWLINE# for data in series : #NEWLINE# #INDENT# self . _write_ser ( data ) #NEWLINE# #UNINDENT# self . _write_marker_value ( ) #NEWLINE# if args [ 'primary_axes' ] : #NEWLINE# #INDENT# self . _write_gap_width ( self . series_gap_1 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _write_gap_width ( self . series_gap_2 ) #NEWLINE# #UNINDENT# if args [ 'primary_axes' ] : #NEWLINE# #INDENT# self . _write_overlap ( self . series_overlap_1 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _write_overlap ( self . series_overlap_2 ) #NEWLINE# #UNINDENT# self . _write_axis_ids ( args ) #NEWLINE# self . _xml_end_tag ( 'c:barChart' )