Displaying 2 results from an estimated 2 matches for "flex_history_chart".
2009 Jul 24
2
[PATCH server] Add fallback message when flexchart is missing
.../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 type="text/javascript">
$(document).ready(function(){
@@ -16,3 +19,7 @@ $('#flex_history_chart').flash(
);
});
</script>
+
+<% else %>
+<div id="flex_history_chart">Missing Performance Chart (/swfs/flexchart....
2009 May 28
1
[PATCH server] Change default flexchart view and increase vertical dimension of flexchart area.
...-
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 :contr...