Class Gruff::Mini::SideBar
In: lib/gruff/mini/side_bar.rb
Parent: Gruff::SideBar

Methods

Included Modules

Gruff::Mini::Legend

Public Instance methods

[Source]

# File lib/gruff/mini/side_bar.rb, line 22
      def draw
        expand_canvas_for_vertical_legend
        
        super
        
        draw_vertical_legend
        
        @d.draw(@base_image)
      end

[Source]

# File lib/gruff/mini/side_bar.rb, line 12
      def initialize_ivars
        super
        @hide_legend = true
        @hide_title = true
        @hide_line_numbers = true

        @marker_font_size = 50.0
        @legend_font_size = 50.0
      end

[Validate]