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