Methods

MetricFu::FlayGchartGrapher

Public Instance Methods

graph!() click to toggle source
# File lib/graphs/engines/gchart.rb, line 35
def graph!
  determine_y_axis_scale(@flay_score)
  url = Gchart.line(
    :size => GCHART_GRAPH_SIZE,
    :title => URI.escape("Flay: duplication"),
    :data => @flay_score,
    :max_value => @max_value,
    :axis_with_labels => 'x,y',
    :axis_labels => [@labels.values, @yaxis],
    :format => 'file',
    :filename => File.join(MetricFu.output_directory, 'flay.png'))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.