diff --git a/app/views/graphs/recent_status_changes_graph.html.erb b/app/views/graphs/recent_status_changes_graph.html.erb index 89183bc..16b97a9 100644 --- a/app/views/graphs/recent_status_changes_graph.html.erb +++ b/app/views/graphs/recent_status_changes_graph.html.erb @@ -8,14 +8,14 @@ i = -1 @issue_statuses.each do |issue_status| points[issue_status.id] = { - "x" => Math.sin(2*Math::PI*i/@issue_statuses.size)*100 + 140, - "y" => Math.cos(2*Math::PI*i/@issue_statuses.size)*100 + 125 + "x" => Math.sin(2*Math::PI*i/@issue_statuses.size)*100 + 150, + "y" => Math.cos(2*Math::PI*i/@issue_statuses.size)*100 + 150 } i -= 1 end %> - + <% @status_changes.each do |status_change| %> <% @@ -54,4 +54,4 @@ " y="<%= point["y"] + 3 %>"><%= issue_statuses_by_id[status_id] %> <% end %> - \ No newline at end of file + diff --git a/app/views/my/blocks/_recent_status_changes_graph.html.erb b/app/views/my/blocks/_recent_status_changes_graph.html.erb index 2e995a7..d1a8694 100644 --- a/app/views/my/blocks/_recent_status_changes_graph.html.erb +++ b/app/views/my/blocks/_recent_status_changes_graph.html.erb @@ -1,5 +1,5 @@

<%= l(:label_graphs_issue_status_flow) %>

-<%= tag("embed", :width => "280", :height => 270, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'recent_status_changes_graph')) %> -
\ No newline at end of file +<%= tag("embed", :width => "300", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'recent_status_changes_graph')) %> +