Class: OpenFlashChart::Scatter
- Inherits:
-
Base
- Object
- Base
- OpenFlashChart::Scatter
- Defined in:
- lib/plugins/open_flash_chart/lib/open_flash_chart/scatter.rb
Instance Method Summary (collapse)
-
- (Scatter) initialize(colour, dot_style = nil, args = {})
constructor
A new instance of Scatter.
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
- (Scatter) initialize(colour, dot_style = nil, args = {})
Returns a new instance of Scatter
13 14 15 16 17 18 19 |
# File 'lib/plugins/open_flash_chart/lib/open_flash_chart/scatter.rb', line 13 def initialize(colour, dot_style=nil, args={}) @type = "scatter" @colour = colour @dot_style = dot_style @values = [] super args end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenFlashChart::Base