Sha256: e3012fd7bb024bc61ec39aa3f2581700d6c85f502a9d5444bc6886d697df04f8

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

defplot do |plotter|
  plotter.plot.xrange '[52.5:0.5]'
  plotter.plot.xtics '1'
  plotter.plot.ylabel 'Commits'

  plotter.add_boxes(:setrange => false) do |x, l, y|
    51.downto 0 do |i|
      s = stats.lastweeks_stats[i]
      x << i + 1
      l << i + 1
      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/lastweeks.plot
gitstats-ruby-1.0.1 template/lastweeks.plot
gitstats-ruby-1.0.0 template/lastweeks.plot