Project

General

Profile

« Previous | Next » 

Revision 711cbdbe

Added by Liza Gilman over 5 years ago

Fixes #24011 - Add Patternfly bar chart support

View differences:

app/helpers/dashboard_helper.rb
].to_json
end
def render_run_distribution(hosts, options = {})
data = count_reports(hosts, options)
flot_bar_chart("run_distribution", _("Minutes Ago"), _("Number Of Clients"), data, options)
def get_run_distribution_data(hosts, options = {})
data = count_reports(hosts, options).to_a
data.map { |label, value| [label.to_s, value] }
end
def searchable_links(name, search, counter)

Also available in: Unified diff