lib/rubyplot/artist/legend_box.rb
def configure_legend_box
        @bounding_box = Rubyplot::Artist::Rectangle.new(
          self,
          x1: @abs_x,
          y1: @abs_y,
          x2: @abs_x + @width,
          y2: @abs_y + @height,
          border_color: @border_color,
          abs: true
        )
      end
# Ratio of total height of legend box that is the top margin.
Ratio of total height of legend box that is the top margin.
Ratio of total height of legend box that is the top margin .
def configure_legend_box
        @bounding_box = Rubyplot::Artist::Rectangle.new(
          self,
          x1: @abs_x,
          y1: @abs_y,
          x2: @abs_x + @width,
          y2: @abs_y + @height,
          border_color: @border_color,
          abs: true
        )
      end
def configure_legend_box @bounding_box = Rubyplot :: Artist :: Rectangle . new ( self , x1 : @abs_x , y1 : @abs_y , x2 : @abs_x + @width , y2 : @abs_y + @height , border_color : @border_color , abs : true ) end
Ratio of total height of legend box that is the top margin.
Ratio of total height of legend box that is the top margin .