Sha256: b8ced333e78e89c72514b53e40f7b86694f8ce589a4707485f85ab21ad89034a

Contents?: true

Size: 404 Bytes

Versions: 3

Compression:

Stored size: 404 Bytes

Contents

defplot do |plotter|
  plotter.add_steps do |x, l, y|
    stats.yearmonth_stats.each_sorted do |yearmonth, stats|
      x << yearmonth.to_i
      l << yearmonth.to_s
      y << stats.files_added
    end
  end

  plotter.add_steps do |x, l, y|
    stats.yearmonth_stats.each_sorted do |yearmonth, stats|
      x << yearmonth.to_i
      l << yearmonth.to_s
      y << stats.files_deleted
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
gitstats-rb-2.0.0 template/gnuplot/filechanges_by_yearmonth.plot
gitstats-ruby-1.0.1 template/filechanges_by_yearmonth.plot
gitstats-ruby-1.0.0 template/filechanges_by_yearmonth.plot