Sha256: 994fc974a8ce39d96e4be33c3c93d5a1a3a567f70f089cc583f14e5a0c64bf56

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

defplot do |plotter|
  plotter.add_steps do |x, l, y|
    lines = 0
    stats.yearmonth_stats.each_sorted do |yearmonth, stats|
      lines += stats.lines
      x << yearmonth.to_i
      l << yearmonth.to_s
      y << lines
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

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