%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %>
<%
DashboardsController.get_chart_array.each do |one_row|
if one_row["show"] == "1"
render(:layout => one_row["file_name"], :locals => {:chart_id => one_row["id"], :width => one_row["flash_width"], :height => one_row["flash_height"],:additional_params => one_row["additional_params"], :fields => one_row["fields"], :tooltip => one_row["tooltip"], :labels => one_row["labels"]}) do
end
elsif one_row["show"] == "2"
render(:layout => "msg_chart", :locals => {:chart_id => one_row["id"], :massage => one_row["massage"],:width => one_row["flash_width"], :height => one_row["flash_height"] }) do
end
end
end
%>