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