Displaying 2 results from an estimated 2 matches for "7a7e1e1".
2009 May 28
1
[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,
+...
2009 Jul 24
2
[PATCH server] Add fallback message when flexchart is missing
...http://ovirt.org/flexchart/flexchart.swf"
+ end
+
+
# generate some json for the snapshot graph
def snapshot_graph_json(target, snapshots)
data = snapshots[:avg][target]
diff --git a/src/app/views/graph/history_graphs.rhtml b/src/app/views/graph/history_graphs.rhtml
index 7a7e1e1..2683952 100644
--- a/src/app/views/graph/history_graphs.rhtml
+++ b/src/app/views/graph/history_graphs.rhtml
@@ -1,4 +1,7 @@
<%= javascript_include_tag "jquery.flash.js" %>
+
+<% if swf_is_present %>
+
<div id="flex_history_chart"></div>
<script ty...