Sha256: ba34cbe250f564f3c44eabe821176e1ef8c5dda1119e6915b1f398f85e2b264e

Contents?: true

Size: 448 Bytes

Versions: 9

Compression:

Stored size: 448 Bytes

Contents

module PulseMeter
  module DygraphsVisualize
    module DSL
      module Widgets
        class Line < PulseMeter::DygraphsVisualize::DSL::Widget

          self.data_class = PulseMeter::DygraphsVisualize::Widgets::Line

          string_setter :values_label
          bool_setter :show_last_point

          int_setter :timespan do |ts|
            raise BadWidgetTimeSpan, ts unless ts > 0
          end

        end
      end
    end
  end
end


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pulse_meter-dygraphs_visualizer-0.4.23 lib/pulse_meter/dygraphs_visualize/dsl/widgets/line.rb
pulse_meter-dygraphs_visualizer-0.4.22 lib/pulse_meter/dygraphs_visualize/dsl/widgets/line.rb
pulse_meter-dygraphs_visualizer-0.4.21 lib/pulse_meter/dygraphs_visualize/dsl/widgets/line.rb
pulse_meter-dygraphs_visualizer-0.4.20 lib/pulse_meter/dygraphs_visualize/dsl/widgets/line.rb
pulse_meter-dygraphs_visualizer-0.4.19 lib/pulse_meter/dygraphs_visualize/dsl/widgets/line.rb
pulse_meter-dygraphs_visualizer-0.4.18 lib/pulse_meter/dygraphs_visualize/dsl/widgets/line.rb
pulse_meter-dygraphs_visualizer-0.4.17 lib/pulse_meter/dygraphs_visualize/dsl/widgets/line.rb
pulse_meter-dygraphs_visualizer-0.4.16 lib/pulse_meter/dygraphs_visualize/dsl/widgets/line.rb
pulse_meter-dygraphs_visualizer-0.4.15 lib/pulse_meter/dygraphs_visualize/dsl/widgets/line.rb