Sha256: 2d9037048d9df968d6ab2161ced25812ba70424b90a80a293236cdba6dc1239b

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

defplot do |plotter|
  plotter.plot.ylabel 'Commits'

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

Version data entries

3 entries across 3 versions & 2 rubygems

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