mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 17:30:38 -07:00
column can by given on the fly (dependency injection). Show Parent graphs on analyze page.
27 lines
399 B
Ruby
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
|