mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 21:38:14 -08:00
29 lines
629 B
Ruby
29 lines
629 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Analyze
|
|
module Graph
|
|
module Column
|
|
module IncomeColumn
|
|
class Unknown < GroupedBarColumnPresenter
|
|
include Analyze::Graph::Column::IncomeColumn::ScoreForIncome
|
|
include Analyze::Graph::Column::IncomeColumn::IncomeCount
|
|
def label
|
|
["Unknown"]
|
|
end
|
|
|
|
def show_irrelevancy_message?
|
|
false
|
|
end
|
|
|
|
def show_insufficient_data_message?
|
|
false
|
|
end
|
|
|
|
def income
|
|
Income.find_by_designation "Unknown"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|