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.
34 lines
625 B
34 lines
625 B
# frozen_string_literal: true
|
|
|
|
module Analyze
|
|
module Graph
|
|
module Column
|
|
module Grade
|
|
class Ten < GroupedBarColumnPresenter
|
|
include Analyze::Graph::Column::Grade::ScoreForGrade
|
|
include Analyze::Graph::Column::Grade::GradeCount
|
|
def label
|
|
%w[Grade 10]
|
|
end
|
|
|
|
def basis
|
|
"student"
|
|
end
|
|
|
|
def show_irrelevancy_message?
|
|
false
|
|
end
|
|
|
|
def show_insufficient_data_message?
|
|
false
|
|
end
|
|
|
|
def grade
|
|
10
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|