Class: OpenFlashChart::OFCTag

Inherits:
Base
  • Object
show all
Defined in:
lib/plugins/open_flash_chart/lib/open_flash_chart/tags.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

- (OFCTag) initialize(x, y, args = {})

Returns a new instance of OFCTag



56
57
58
59
60
# File 'lib/plugins/open_flash_chart/lib/open_flash_chart/tags.rb', line 56

def initialize(x,y, args={})
  super args
  @x = x
  @y = y
end

Dynamic Method Handling

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