Sha256: d9d7f8512c7b6ab291ebefbe64df94165a8596f5a9bfbbe39e3d862d2ba82e3c

Contents?: true

Size: 542 Bytes

Versions: 5

Compression:

Stored size: 542 Bytes

Contents

MetricFu.metrics_require   { 'flay/flay_grapher' }
module MetricFu
  class FlayGchartGrapher < FlayGrapher
    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
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
metric_fu-4.2.1 lib/metric_fu/metrics/flay/flay_gchart_grapher.rb
metric_fu-4.2.0 lib/metric_fu/metrics/flay/flay_gchart_grapher.rb
metric_fu-4.1.3 lib/metric_fu/metrics/flay/flay_gchart_grapher.rb
metric_fu-4.1.2 lib/metric_fu/metrics/flay/flay_gchart_grapher.rb
metric_fu-4.1.1 lib/metric_fu/metrics/flay/flay_gchart_grapher.rb