Sha256: 237bafa46e1a5a96c007177cfffc0147770e14e20d444c2ff8681214419072b1

Contents?: true

Size: 612 Bytes

Versions: 6

Compression:

Stored size: 612 Bytes

Contents

module PulseMeter
  module Visualize
    module DSL
      class Layout < Base
        DEFAULT_TITLE = "Pulse Meter"

        self.data_class = PulseMeter::Visualize::Layout

        def initialize
          super()
          self.title(DEFAULT_TITLE)
          self.use_utc(false)
        end

        string_setter :title
        bool_setter :use_utc
        bool_setter :embedded
        hash_extender :gchart_options

        deprecated_setter :outlier_color
        deprecated_setter :highchart_options

        dsl_array_extender :pages, :page, PulseMeter::Visualize::DSL::Page
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pulse_meter_visualizer-0.4.22 lib/pulse_meter/visualize/dsl/layout.rb
pulse_meter_visualizer-0.4.21 lib/pulse_meter/visualize/dsl/layout.rb
pulse_meter_visualizer-0.4.20 lib/pulse_meter/visualize/dsl/layout.rb
pulse_meter_visualizer-0.4.19 lib/pulse_meter/visualize/dsl/layout.rb
pulse_meter_visualizer-0.4.18 lib/pulse_meter/visualize/dsl/layout.rb
pulse_meter_visualizer-0.4.17 lib/pulse_meter/visualize/dsl/layout.rb