mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
fix: Makes visible the graphs by grade
This commit is contained in:
parent
49a838c060
commit
5fc83ac31b
3 changed files with 5 additions and 6 deletions
|
|
@ -6,9 +6,9 @@ module Analyze
|
|||
include Analyze::Graph::Column::Grade
|
||||
attr_reader :grades
|
||||
|
||||
def initialize(grades:)
|
||||
@grades = grades
|
||||
end
|
||||
# def initialize(grades:)
|
||||
# @grades = grades
|
||||
# end
|
||||
|
||||
def to_s
|
||||
"Students by Grade"
|
||||
|
|
@ -52,4 +52,3 @@ module Analyze
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ module Analyze
|
|||
@graphs ||= [Analyze::Graph::AllData.new,
|
||||
Analyze::Graph::StudentsAndTeachers.new,
|
||||
Analyze::Graph::StudentsByRace.new(races: selected_races),
|
||||
Analyze::Graph::StudentsByGrade.new(grades: selected_grades),
|
||||
Analyze::Graph::StudentsByGrade.new,
|
||||
Analyze::Graph::StudentsByGender.new(genders: selected_genders),
|
||||
Analyze::Graph::StudentsByIncome.new(incomes: selected_incomes),
|
||||
Analyze::Graph::StudentsByEll.new(ells: selected_ells),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue