# frozen_string_literal: true

module Dashboard
  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
end
