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