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/column/black.rb

36 lines
697 B

# frozen_string_literal: true
module Analyze
module Graph
module Column
class Black < GroupedBarColumnPresenter
include Analyze::Graph::Column::RaceScore
def label
'Black'
end
def basis
'student'
end
def show_irrelevancy_message?
# !measure.includes_student_survey_items?
false
end
def show_insufficient_data_message?
false
end
def score(year_index)
race_score(measure:, school:, academic_year: academic_years[year_index], race:)
end
def race
Race.find_by_qualtrics_code 3
end
end
end
end
end