Class: OpenFlashChart::ScatterLine
- Inherits:
- 
      Base
      
        - Object
- Base
- OpenFlashChart::ScatterLine
 
- Defined in:
- lib/plugins/open_flash_chart/lib/open_flash_chart/scatter_line.rb
Instance Method Summary (collapse)
- 
  
    
      - (ScatterLine) initialize(colour, width, args = {}) 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ScatterLine. 
- - (Object) set_step_horizonal
- - (Object) set_step_vertical
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
- (ScatterLine) initialize(colour, width, args = {})
Returns a new instance of ScatterLine
| 4 5 6 7 8 9 | # File 'lib/plugins/open_flash_chart/lib/open_flash_chart/scatter_line.rb', line 4 def initialize(colour, width, args={}) super args @type = 'scatter_line' @colour = colour @width = width end | 
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenFlashChart::Base
Instance Method Details
- (Object) set_step_horizonal
| 11 12 13 | # File 'lib/plugins/open_flash_chart/lib/open_flash_chart/scatter_line.rb', line 11 def set_step_horizonal @stepgraph = 'horizontal' end | 
- (Object) set_step_vertical
| 15 16 17 | # File 'lib/plugins/open_flash_chart/lib/open_flash_chart/scatter_line.rb', line 15 def set_step_vertical @stepgraph = 'vertical' end |