Revert "fix: Makes visible the graphs by grade"

This reverts commit 455f716b6d.
This commit is contained in:
Nelson Jovel 2024-03-26 15:32:34 -07:00
parent 455f716b6d
commit 993fafcc0e
3 changed files with 6 additions and 5 deletions

View file

@ -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,3 +52,4 @@ module Analyze
end
end
end

View file

@ -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,
Analyze::Graph::StudentsByGrade.new(grades: selected_grades),
Analyze::Graph::StudentsByGender.new(genders: selected_genders),
Analyze::Graph::StudentsByIncome.new(incomes: selected_incomes),
Analyze::Graph::StudentsByEll.new(ells: selected_ells),