Class: OpenFlashChart::BarOnShow

Inherits:
Base
  • Object
show all
Defined in:
lib/plugins/open_flash_chart/lib/open_flash_chart/bar_glass.rb

Instance Method Summary (collapse)

Methods inherited from Base

#<<, #add_element, #append_value, #attach_to_right_y_axis, #method_missing, #render, #set_colours, #set_key, #set_offset, #set_range, #set_tooltip, #to_json2

Constructor Details

- (BarOnShow) initialize(type, cascade, delay)

Returns a new instance of BarOnShow



4
5
6
7
8
# File 'lib/plugins/open_flash_chart/lib/open_flash_chart/bar_glass.rb', line 4

def initialize(type, cascade, delay)
  @type    = type
  @cascade = cascade.to_f
  @delay   = delay.to_f
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class OpenFlashChart::Base