lib/rubyplot/artist/plot/multi_bars.rb
# The max. width that each bar can occupy.
The max. width that each bar can occupy.
The max . width that each bar can occupy .
def process_data
          @bar_plots.each(&:process_data)
          @x_min = @bar_plots.map(&:x_min).min
          @y_min = @bar_plots.map(&:y_min).min
          @x_max = @bar_plots.map(&:x_max).max
          @y_max = @bar_plots.map(&:y_max).max
          configure_ranges!
          configure_plot_geometry_data!
        end
def process_data @bar_plots . each ( & :process_data ) @x_min = @bar_plots . map ( & :x_min ) . min @y_min = @bar_plots . map ( & :y_min ) . min @x_max = @bar_plots . map ( & :x_max ) . max @y_max = @bar_plots . map ( & :y_max ) . max configure_ranges! configure_plot_geometry_data! end
The max.
The max .