<% # (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 title = t("dashboards.chart_name_#{chart_id}") if defined? param if additional_params.include?("no_translate") audit_controller = AuditsController.new audit_types = audit_controller.get_audit_types_for_dashboard() title = audit_types[param] else title = t("dashboards.#{param}") end end url_str = show_dashboard_path(chart_id,:format => :json) if defined? param url_str = show_dashboard_path(chart_id,:param => param,:format => :json) end span_id = "chart_#{chart_id}" chart_comp_id = "chart_id_#{chart_id}" header = !additional_params.include?("no_header") field_name = 'value' field_name = "percent" if defined? fields["percent"] percent = false percent = true if defined? fields["percent"] add_tooltip_text = " "<