You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sqm-dashboards/app/presenters/analyze/graph/all_data.rb

30 lines
476 B

# frozen_string_literal: true
module Analyze
module Graph
class AllData
include Analyze::Graph::Column
def to_s
%w[All Data]
end
def slug
"all-data"
end
def columns
[AllStudent, AllTeacher, AllAdmin, Analyze::Graph::Column::AllData]
end
def source
Analyze::Source::AllData.new(slices: [slice])
end
def slice
Analyze::Slice::AllData.new
end
end
end
end