mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 17:30:38 -07:00
move methods from analyze helper to background presenter
This commit is contained in:
parent
88339c729f
commit
c568e8bc06
10 changed files with 115 additions and 77 deletions
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module AnalysisGraph
|
||||
class StudentsAndTeachers
|
||||
def to_s
|
||||
|
|
@ -7,5 +9,9 @@ module AnalysisGraph
|
|||
def value
|
||||
'students-and-teachers'
|
||||
end
|
||||
|
||||
def columns
|
||||
[StudentGroupedBarColumnPresenter, TeacherGroupedBarColumnPresenter, GroupedBarColumnPresenter]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -7,5 +7,9 @@ module AnalysisGraph
|
|||
def value
|
||||
'students-by-group'
|
||||
end
|
||||
|
||||
def columns
|
||||
[StudentGroupedBarColumnPresenter]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue