Class: OpenFlashChart::BarStackKey
- Inherits:
-
Base
- Object
- Base
- OpenFlashChart::BarStackKey
- Defined in:
- lib/plugins/open_flash_chart/lib/open_flash_chart/bar_stack.rb
Instance Method Summary (collapse)
-
- (BarStackKey) initialize(colour, text, font_size, args = {})
constructor
A new instance of BarStackKey.
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
- (BarStackKey) initialize(colour, text, font_size, args = {})
Returns a new instance of BarStackKey
21 22 23 24 25 26 |
# File 'lib/plugins/open_flash_chart/lib/open_flash_chart/bar_stack.rb', line 21 def initialize(colour, text, font_size, args={}) @colour = colour @text = text @font_size = font_size super(args) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenFlashChart::Base