Sha256: 2db84f0b95a375738892b8c48a29bd7475a0797b2d961083a4c266d06ea6ab68
Contents?: true
Size: 376 Bytes
Versions: 3
Compression:
Stored size: 376 Bytes
Contents
defplot do |plotter| plotter.plot.xrange '[0.5:12.5]' plotter.plot.xtics '1' plotter.plot.ylabel 'Commits' plotter.plot.yrange '[0:]' plotter.add_boxes(:setrange => false, :limitlabels => false) do |x, l, y| for month in 1..12 s = stats.month_stats[month] x << month l << monthname(month) y << (s.nil? ? 0 : s.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_month.plot |
gitstats-ruby-1.0.1 | template/commits_per_month.plot |
gitstats-ruby-1.0.0 | template/commits_per_month.plot |