[Ovirt-devel] [PATCH server] Change default flexchart view and increase vertical dimension of flexchart area.
Steve Linabery
slinabery at redhat.com
Thu May 28 20:33:20 UTC 2009
---
src/app/views/graph/history_graphs.rhtml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/views/graph/history_graphs.rhtml b/src/app/views/graph/history_graphs.rhtml
index 9488367..7a7e1e1 100644
--- a/src/app/views/graph/history_graphs.rhtml
+++ b/src/app/views/graph/history_graphs.rhtml
@@ -7,10 +7,10 @@ $('#flex_history_chart').flash(
{
src: '<%=flash_path("flexchart")%>',
width: 720,
- height: 300,
+ height: 380,
wmode: 'transparent',
menu: false,
- flashvars: { flexchart_data: "<%= url_for :controller =>'/graph', :action => 'flexchart_data' %>/<%= @id %>/memory/<%= Time.now.to_i - 60 * 60 * 24 %>/<%= Time.now.to_i %>/peak" }
+ flashvars: { flexchart_data: "<%= url_for :controller =>'/graph', :action => 'flexchart_data' %>/<%= @id %>/cpu/<%= Time.now.to_i - 60 * 60 * 24 %>/<%= Time.now.to_i %>/average" }
},
{ version: 9 }
);
--
1.6.0.6
More information about the ovirt-devel
mailing list