lib/gruff/base.rb
# Shows an error message because you have no data.
Shows an error message because you have no data.
Shows an error message because you have no data .
def draw_no_data
      font = @title_font.dup
      font.size = 80
      font.bold = false
      text_renderer = Gruff::Renderer::Text.new(renderer, @no_data_message, font: font)
      text_renderer.render(@raw_columns, @raw_rows, 0, 0, Magick::CenterGravity)
    end
def draw_no_data font = @title_font . dup font . size = 80 font . bold = false text_renderer = Gruff :: Renderer :: Text . new ( renderer , @no_data_message , font : font ) text_renderer . render ( @raw_columns , @raw_rows , 0 , 0 , Magick :: CenterGravity ) end
Shows an error message because you have no data.
Shows an error message because you have no data .