@@ -228,7 +228,7 private | |||||
228 |
|
228 | |||
229 | graph = SVG::Graph::Bar.new( |
|
229 | graph = SVG::Graph::Bar.new( | |
230 | :height => 300, |
|
230 | :height => 300, | |
231 |
:width => |
|
231 | :width => 800, | |
232 | :fields => fields.reverse, |
|
232 | :fields => fields.reverse, | |
233 | :stack => :side, |
|
233 | :stack => :side, | |
234 | :scale_integers => true, |
|
234 | :scale_integers => true, | |
@@ -270,8 +270,8 private | |||||
270 | fields = fields.collect {|c| c.gsub(%r{<.+@.+>}, '') } |
|
270 | fields = fields.collect {|c| c.gsub(%r{<.+@.+>}, '') } | |
271 |
|
271 | |||
272 | graph = SVG::Graph::BarHorizontal.new( |
|
272 | graph = SVG::Graph::BarHorizontal.new( | |
273 |
:height => |
|
273 | :height => 400, | |
274 |
:width => |
|
274 | :width => 800, | |
275 | :fields => fields, |
|
275 | :fields => fields, | |
276 | :stack => :side, |
|
276 | :stack => :side, | |
277 | :scale_integers => true, |
|
277 | :scale_integers => true, |
@@ -1,13 +1,12 | |||||
1 | <h2><%= l(:label_statistics) %></h2> |
|
1 | <h2><%= l(:label_statistics) %></h2> | |
2 |
|
2 | |||
3 | <table width="100%"> |
|
3 | <p> | |
4 | <tr><td> |
|
4 | <%= tag("embed", :width => 800, :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :graph => "commits_per_month")) %> | |
5 | <%= tag("embed", :width => 500, :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :graph => "commits_per_month")) %> |
|
5 | </p> | |
6 | </td><td> |
|
6 | <p> | |
7 |
<%= tag("embed", :width => |
|
7 | <%= tag("embed", :width => 800, :height => 400, :type => "image/svg+xml", :src => url_for(:controller => 'repositories', :action => 'graph', :id => @project, :graph => "commits_per_author")) %> | |
8 | </td></tr> |
|
8 | </p> | |
9 | </table> |
|
9 | ||
10 | <br /> |
|
|||
11 | <p><%= link_to l(:button_back), :action => 'show', :id => @project %></p> |
|
10 | <p><%= link_to l(:button_back), :action => 'show', :id => @project %></p> | |
12 |
|
11 | |||
13 | <% html_title(l(:label_repository), l(:label_statistics)) -%> |
|
12 | <% html_title(l(:label_repository), l(:label_statistics)) -%> |
General Comments 0
You need to be logged in to leave comments.
Login now