Class: OpenFlashChart::Candle
- Inherits:
-
Base
- Object
- Base
- OpenFlashChart::Candle
- Defined in:
- lib/plugins/open_flash_chart/lib/open_flash_chart/candle.rb
Instance Method Summary (collapse)
-
- (Candle) initialize(colour, negative_colour, args = {})
constructor
A new instance of Candle.
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
- (Candle) initialize(colour, negative_colour, args = {})
Returns a new instance of Candle
4 5 6 7 8 9 |
# File 'lib/plugins/open_flash_chart/lib/open_flash_chart/candle.rb', line 4 def initialize(colour, negative_colour, args={}) @colour = colour @negative_colour = negative_colour super args @type = "candle" end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenFlashChart::Base