Sha256: c24c26d2eb57df75c4b761a7100925c5850dbf41417168e34529226cdd94253a

Contents?: true

Size: 582 Bytes

Versions: 28

Compression:

Stored size: 582 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
        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

28 entries across 28 versions & 2 rubygems

Version Path
pulse_meter_visualizer-0.4.16 lib/pulse_meter/visualize/dsl/layout.rb
pulse_meter_visualizer-0.4.15 lib/pulse_meter/visualize/dsl/layout.rb
pulse_meter_visualizer-0.4.14 lib/pulse_meter/visualize/dsl/layout.rb
pulse_meter_visualizer-0.4.13 lib/pulse_meter/visualize/dsl/layout.rb
pulse_meter_visualizer-0.4.12 lib/pulse_meter/visualize/dsl/layout.rb
pulse_meter_visualizer-0.4.11 lib/pulse_meter/visualize/dsl/layout.rb
pulse-meter-0.4.9 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.4.8 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.4.7 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.4.6 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.4.5 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.4.4 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.4.3 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.4.2 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.4.1 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.4.0 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.3.2 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.3.1 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.3.0 lib/pulse-meter/visualize/dsl/layout.rb
pulse-meter-0.2.11 lib/pulse-meter/visualize/dsl/layout.rb