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