make height of "Commits per author" graph flexible (#1983, #13486)

Contributed by Max Horn.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11723 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2013-04-18 02:07:44 +00:00
parent 1bdd37f3e0
commit ba11020fdf
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ class RepositoriesController < ApplicationController
fields = fields.collect {|c| c.gsub(%r{<.+@.+>}, '') }
graph = SVG::Graph::BarHorizontal.new(
:height => 400,
:height => 15 * commits_data.length,
:width => 800,
:fields => fields,
:stack => :side,