Module: Ask::Monitoring::DashboardHelper

Defined in:
app/helpers/ask/monitoring/dashboard_helper.rb

Instance Method Summary collapse

Instance Method Details

#metric_chart_data(metric) ⇒ Object



4
5
6
# File 'app/helpers/ask/monitoring/dashboard_helper.rb', line 4

def metric_chart_data(metric)
  metric.as_chart_data.to_json
end