lib/gruff/base.rb
# Draws the data value over the data point in bar graphs
Draws the data value over the data point in bar graphs
Draws the data value over the data point in bar graphs
def draw_value_label(x_offset, y_offset, data_point)
      return if @hide_line_markers
      text_renderer = Gruff::Renderer::Text.new(renderer, data_point, font: @marker_font)
      text_renderer.add_to_render_queue(1.0, 1.0, x_offset, y_offset)
    end
def draw_value_label ( x_offset , y_offset , data_point ) return if @hide_line_markers text_renderer = Gruff :: Renderer :: Text . new ( renderer , data_point , font : @marker_font ) text_renderer . add_to_render_queue ( 1.0 , 1.0 , x_offset , y_offset ) end
Draws the data value over the data point in bar graphs
Draws the data value over the data point in bar graphs
x_offset
<not_specific>
y_offset
<not_specific>
data_point
<not_specific>