Displaying 1 result from an estimated 1 matches for "snapshot_graph_json".
2009 Jul 24
2
[PATCH server] Add fallback message when flexchart is missing
...er
+ def swf_is_present
+ File.exists?(Rails.root.join('public','swfs','flexchart.swf'))
+ end
+
+ def swf_bits_download_url
+ "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 @@
&l...