sqm-dashboards/app/presenters/analyze/graph/all_parent.rb
rebuilt 9911a75dc8 Refactor GroupedBarColumnPresenter to accept a configuration so that a
column can by given on the fly (dependency injection). Show Parent
graphs on analyze page.
2025-03-20 13:11:08 -07:00

27 lines
399 B
Ruby

# frozen_string_literal: true
module Analyze
module Graph
class AllParent
def initialize(scales:)
@scales = scales
end
def to_s
"All Data"
end
def slug
"all-data"
end
def source
Analyze::Source::AllData.new(slices: [slice])
end
def slice
Analyze::Slice::AllData.new
end
end
end
end