Steve Linabery
2009-May-28 20:33 UTC
[Ovirt-devel] [PATCH server] Change default flexchart view and increase vertical dimension of flexchart area.
--- 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
Jason Guiditta
2009-May-28 20:34 UTC
[Ovirt-devel] [PATCH server] Change default flexchart view and increase vertical dimension of flexchart area.
On Thu, 2009-05-28 at 15:33 -0500, Steve Linabery wrote:> --- > 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 } > );ACK
Reasonably Related Threads
- [PATCH server] Add fallback message when flexchart is missing
- how can I get the friends of a fb user only using his facebook id
- rails 3 + mongrel + mime type swf
- [PATCH server] First round of (largely) cosmetic changes to flexchart.
- Rails Plugin for swfobject? - swf_fu