mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
29 lines
468 B
Ruby
29 lines
468 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Analyze
|
|
module Graph
|
|
class AllData
|
|
include Analyze::Graph::Column
|
|
|
|
def to_s
|
|
"All Data"
|
|
end
|
|
|
|
def slug
|
|
"all-data"
|
|
end
|
|
|
|
def columns
|
|
[AllStudent, AllTeacher, AllAdmin, GroupedBarColumnPresenter]
|
|
end
|
|
|
|
def source
|
|
Analyze::Source::AllData.new(slices: [slice])
|
|
end
|
|
|
|
def slice
|
|
Analyze::Slice::AllData.new
|
|
end
|
|
end
|
|
end
|
|
end
|