Actions
Patch #14068
closedIncrease base height of author lines on 'Commits per author' graph
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
In r11723 for #13486 the height of "Commits per author" graph is made flexible. This is done by taking a base height for each author (15) and multiplying that with the number of authors.
The current base height value seems to be a bit on the low side which makes the graph pretty difficult to read. I'll add some examples further on.
I tried several values and came to the conclusion that a value of 301 is working best for me. What do you think?
Examples | ||
---|---|---|
Repo | Base height 15 | Base height 30 |
Redmine | ||
Apache httpd |
1 in source:/trunk/app/controllers/repositories_controller.rb@11845#L414:
Index: app/controllers/repositories_controller.rb
===================================================================
--- app/controllers/repositories_controller.rb (revision 11845)
+++ app/controllers/repositories_controller.rb (working copy)
@@ -411,7 +411,7 @@
fields = fields.collect {|c| c.gsub(%r{<.+@.+>}, '') }
graph = SVG::Graph::BarHorizontal.new(
- :height => 15 * commits_data.length,
+ :height => 30 * commits_data.length,
:width => 800,
:fields => fields,
:stack => :side,
Files
Related issues
Actions