[Ovirt-devel] [PATCH server] Change default flexchart view and increase vertical dimension of flexchart area.

Jason Guiditta jguiditt at redhat.com
Thu May 28 20:34:49 UTC 2009


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




More information about the ovirt-devel mailing list