Class: OpenFlashChart::ScatterValue

Inherits:
Base
  • Object
show all
Defined in:
lib/open_flash_chart/scatter.rb

Instance Method Summary (collapse)

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

- (ScatterValue) initialize(x, y, dot_size = 1, args = {})

Returns a new instance of ScatterValue



4
5
6
7
8
9
# File 'lib/open_flash_chart/scatter.rb', line 4

def initialize(x,y,dot_size=-1, args={})
  super args
  @x = x
  @y = y
  @dot_size = dot_size if dot_size.to_i > 0      
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class OpenFlashChart::Base